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
[ ] Feature: Brief description of the new feature or functionality added.
[x] Bug Fix: Brief description of the bug fixed and how it was resolved.
[ ] Refactor: Any code improvements or refactoring done without changing the functionality.
Checklist
Ensure the following tasks are completed before submitting the PR:
[x] Changelog has been added in relevant commit/s.
[x] Tests have been added or updated to cover the changes.
[ ] Documentation has been updated as needed.
[ ] Any relevant comments or TODOs have been addressed or removed.
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:
TODOs
have been addressed or removed.Additional Notes