routing+routerrpc+lncli: enable last hop restriction for payments

This commit is contained in:
Joost Jager committed 2019-11-18 21:03:03 +01:00
1 parent 814dbea745
commit f28941c7e4
10 files changed
+760 -675

No files matched your search

+1
View File
@@ -89,6 +89,7 @@ func (p *paymentSession) RequestRoute(payment *LightningPayment,
ProbabilitySource: ss.MissionControl.GetProbability,
FeeLimit: payment.FeeLimit,
OutgoingChannelID: payment.OutgoingChannelID,
LastHop: payment.LastHop,
CltvLimit: cltvLimit,
}