Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use consistent cltv_expiry_delta in ForwardTlvs #2831

Merged

Commits on Jan 16, 2024

  1. Use consistent cltv_expiry_delta in ForwardTlvs

    When converting from CounterpartyForwardingInfo to PaymentRelay, the
    cltv_expiry_delta is copied. Then, when forming a blinded payment path,
    the value is mutated so that esoteric values don't reveal information
    about the path. However, the value was only used in computing
    PaymentConstraints and wasn't actually updated in PaymentRelay. Move the
    logic for modifying the cltv_expiry_delta to the conversion code to
    avoid this inconsistency.
    jkczyz committed Jan 16, 2024
    Configuration menu
    Copy the full SHA
    8053aa3 View commit details
    Browse the repository at this point in the history