lntest/itest: update itests due to ListPayments API change

This commit is contained in:
Olaoluwa Osuntokun committed 2019-06-13 16:16:18 -07:00
1 parent fd1f6a7bc4
commit 41617187c4
1 file changed
+2 -2
+2 -2
View File
@@ -13282,7 +13282,7 @@ func testHoldInvoicePersistence(net *lntest.NetworkHarness, t *harnessTest) {
// preimage, indicating they are not yet settled.
err = lntest.WaitNoError(func() error {
req := &lnrpc.ListPaymentsRequest{
NonSucceeded: true,
IncludeIncomplete: true,
}
ctxt, _ = context.WithTimeout(ctxt, defaultTimeout)
paymentsResp, err := net.Alice.ListPayments(ctxt, req)
@@ -13461,7 +13461,7 @@ func testHoldInvoicePersistence(net *lntest.NetworkHarness, t *harnessTest) {
// Check that Alice's invoices to be shown as settled and failed
// accordingly, and preimages matching up.
req := &lnrpc.ListPaymentsRequest{
NonSucceeded: true,
IncludeIncomplete: true,
}
ctxt, _ = context.WithTimeout(ctxt, defaultTimeout)
paymentsResp, err := net.Alice.ListPayments(ctxt, req)