-
Notifications
You must be signed in to change notification settings - Fork 386
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Get max HTLC from CandidateRouteHop instead of EffectiveCapacity
With the addition of blinded route hints, we can't assume that any provided route hint has enough capacity for the entire payment anymore. Blinded route hints provided a max_htlc_msat, so use that in routing.
- Loading branch information
1 parent
1d0e55e
commit 7a801a3
Showing
1 changed file
with
18 additions
and
12 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