lntest/itest: update itests due to ListPayments API change
This commit is contained in:
1 file changed
+2
-2
@@ -13282,7 +13282,7 @@ func testHoldInvoicePersistence(net *lntest.NetworkHarness, t *harnessTest) {
|
|||||||
// preimage, indicating they are not yet settled.
|
// preimage, indicating they are not yet settled.
|
||||||
err = lntest.WaitNoError(func() error {
|
err = lntest.WaitNoError(func() error {
|
||||||
req := &lnrpc.ListPaymentsRequest{
|
req := &lnrpc.ListPaymentsRequest{
|
||||||
NonSucceeded: true,
|
IncludeIncomplete: true,
|
||||||
}
|
}
|
||||||
ctxt, _ = context.WithTimeout(ctxt, defaultTimeout)
|
ctxt, _ = context.WithTimeout(ctxt, defaultTimeout)
|
||||||
paymentsResp, err := net.Alice.ListPayments(ctxt, req)
|
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
|
// Check that Alice's invoices to be shown as settled and failed
|
||||||
// accordingly, and preimages matching up.
|
// accordingly, and preimages matching up.
|
||||||
req := &lnrpc.ListPaymentsRequest{
|
req := &lnrpc.ListPaymentsRequest{
|
||||||
NonSucceeded: true,
|
IncludeIncomplete: true,
|
||||||
}
|
}
|
||||||
ctxt, _ = context.WithTimeout(ctxt, defaultTimeout)
|
ctxt, _ = context.WithTimeout(ctxt, defaultTimeout)
|
||||||
paymentsResp, err := net.Alice.ListPayments(ctxt, req)
|
paymentsResp, err := net.Alice.ListPayments(ctxt, req)
|
||||||
|
|||||||
Reference in new issue
Block a user