routing: distinguish between receiver amount and total amount in newRoute

This commit is contained in:
Joost Jager
2020-03-25 14:06:48 +01:00
parent e5c7e9a38c
commit 46f5fc7400
4 changed files with 7 additions and 1 deletions

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,