itest: assert payment status after sending

This commit is contained in:
yyforyongyu committed 2024-12-20 17:54:12 +08:00
1 parent 425877e745
commit 36a87ad5f4
8 files changed
+32 -35

No files matched your search

+1 -1
View File
@@ -44,7 +44,7 @@ func testHoldInvoiceForceClose(ht *lntest.HarnessTest) {
TimeoutSeconds: 60,
FeeLimitMsat: noFeeLimitMsat,
}
alice.RPC.SendPayment(req)
ht.SendPaymentAssertInflight(alice, req)
ht.AssertInvoiceState(stream, lnrpc.Invoice_ACCEPTED)