forked from ElementsProject/lightning
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
pay: Add strict_first option to send_payment_core
send_payment_core uses non-strict channel selection on the first hop. The newly introduced option strict_first forces the payment core to use the channel with the scid given in the route for the first hop. If the channel can not add an htlc, the sendpay core returns an error PAY_TRY_OTHER_ROUTE.
- Loading branch information
Showing
1 changed file
with
25 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
It seems these two lines are unnecessary?