routing: distinguish between receiver amount and total amount in newRoute
This commit is contained in:
4 files changed
+7
-1
No files matched your search
@@ -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,
|
||||
|
||||
Reference in new issue
Block a user