Merge pull request #3960 from bitromortac/listpayments-pagination

channeldb+lnrpc+lncli: listpayments pagination support
This commit is contained in:
Olaoluwa Osuntokun authored and GitHub committed 2020-04-07 17:06:37 -07:00
commit 7e6f3ece23
10 files changed
+1371 -774

No files matched your search

+1 -1
View File
@@ -4380,7 +4380,7 @@ func testListPayments(net *lntest.NetworkHarness, t *harnessTest) {
t.Fatalf("Can't delete payments at the end: %v", err)
}
// Check that there are no payments before test.
// Check that there are no payments after test.
listReq := &lnrpc.ListPaymentsRequest{}
ctxt, _ = context.WithTimeout(ctxt, defaultTimeout)
paymentsResp, err = net.Alice.ListPayments(ctxt, listReq)