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
@@ -1327,6 +1327,7 @@ func TestNewRoute(t *testing.T) {
sourceVertex, testCase.hops, startingHeight,
finalHopParams{
amt: testCase.paymentAmount,
totalAmt: testCase.paymentAmount,
cltvDelta: finalHopCLTV,
records: nil,
paymentAddr: testCase.paymentAddr,