ElementsProject / lightning

Core Lightning — Lightning Network implementation focusing on spec compliance and performance
Other
2.81k stars 889 forks source link

askrene: fixup fee computation #7639

Open Lagrang3 opened 2 weeks ago

Lagrang3 commented 2 weeks ago

Askrene fixup fee computation

Description

I checked that askrene is wrongly computing the amounts in the hops due to premature fee computation. I added a couple of regression tests and modified existing tests.

Related Issues

Changes Made

Checklist

Ensure the following tasks are completed before submitting the PR:

Additional Notes