-
Notifications
You must be signed in to change notification settings - Fork 913
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
renepay: calculate fee and delay accumulation correctly.
1. When we add a shadow amount, we were using the wrong channel for the fee calculation. 2. Similarly, when calculating the delay amount. The result is that we can get WIRE_INCORRECT_CLTV_EXPIRY repeatedly from nodes. Reported-by: https://github.com/Sjors Fixes: #6620 Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> Changlog-Experimental: Fixed: `renepay` handles ctlv correctly when it varies along a path.
- Loading branch information
1 parent
0135d56
commit 7a92eb2
Showing
2 changed files
with
3 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters