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

askrene-getroutes: fix the value of the amount and delay #8066

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Lagrang3
Copy link
Collaborator

@Lagrang3 Lagrang3 commented Feb 7, 2025

In the previous implementation getroutes would provide for every i-th hop the value of the amount and delay which correspond to the (i-1)-th HTLC. This commit changes that, instead the i-th hop contains the value of the amount and delay of the i-th HTLC.

Changelog-Changed: askrene: getroutes outputs contains for each hop the correct amount and delay values.

Previously proposed as #7639

In the previous implementation getroutes would provide for every i-th
hop the value of the amount and delay which correspond to the (i-1)-th
HTLC. This commit changes that, instead the i-th hop contains the value
of the amount and delay of the i-th HTLC.

Changelog-Changed: askrene: getroutes outputs contains for each hop the correct amount and delay values.

Signed-off-by: Lagrang3 <[email protected]>
@Lagrang3 Lagrang3 requested a review from cdecker as a code owner February 7, 2025 19:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant