lntest/itest: update itests due to ListPayments API change
This commit is contained in:
parent
fd1f6a7bc4
commit
41617187c4
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user