routing: distinguish between receiver amount and total amount in newRoute

This commit is contained in:
Joost Jager committed 2020-04-09 08:20:47 +02:00
1 parent e5c7e9a38c
commit 46f5fc7400
4 files changed
+7 -1

No files matched your search

+1
View File
@@ -196,6 +196,7 @@ func (p *paymentSession) RequestRoute(maxAmt, feeLimit lnwire.MilliSatoshi,
sourceVertex, path, height,
finalHopParams{
amt: maxAmt,
totalAmt: maxAmt,
cltvDelta: finalCltvDelta,
records: p.payment.DestCustomRecords,
paymentAddr: p.payment.PaymentAddr,