-
Notifications
You must be signed in to change notification settings - Fork 902
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
pay: Consider amounts when selecting a channel to send over
The channel selection did not consider the amounts that we are trying to transfer, which in a multiplexed channel world could end up always selecting a channel that is too small for the payment. We also log which channel was selected based on the selector that is passed in, allowing us to better follow the decisions. Changelog-Fixed: pay: `sendonion` and `sendpay` will now consider amounts involved when using picking one channel for a peer
- Loading branch information
Showing
1 changed file
with
32 additions
and
11 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