itest: fix payment test

This commit is contained in:
de6df1re 2021-07-23 09:20:28 -05:00
parent 9e8b9ccd4c
commit 29157fe02a

View file

@ -156,7 +156,7 @@ func testListPayments(net *lntest.NetworkHarness, t *harnessTest) {
}
if len(paymentsResp.Payments) != 0 {
t.Fatalf("incorrect number of payments, got %v, want %v",
len(paymentsRespInit.Payments), 0)
len(paymentsResp.Payments), 0)
}
closeChannelAndAssert(t, net, net.Alice, chanPoint, false)