From 41617187c44d6553dd40fdde3596294f4194bca2 Mon Sep 17 00:00:00 2001 From: Olaoluwa Osuntokun Date: Thu, 13 Jun 2019 16:16:18 -0700 Subject: [PATCH] lntest/itest: update itests due to ListPayments API change --- lntest/itest/lnd_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lntest/itest/lnd_test.go b/lntest/itest/lnd_test.go index 8180f2f2..96f5e82a 100644 --- a/lntest/itest/lnd_test.go +++ b/lntest/itest/lnd_test.go @@ -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)