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

+2 -4
View File
@@ -508,8 +508,7 @@ func testForwardInterceptorWireRecords(ht *lntest.HarnessTest) {
FeeLimitMsat: noFeeLimitMsat,
FirstHopCustomRecords: customRecords,
}
_ = alice.RPC.SendPayment(sendReq)
ht.SendPaymentAssertInflight(alice, sendReq)
// We start the htlc interceptor with a simple implementation that saves
// all intercepted packets. These packets are held to simulate a
@@ -635,8 +634,7 @@ func testForwardInterceptorRestart(ht *lntest.HarnessTest) {
FeeLimitMsat: noFeeLimitMsat,
FirstHopCustomRecords: customRecords,
}
_ = alice.RPC.SendPayment(sendReq)
ht.SendPaymentAssertInflight(alice, sendReq)
// We start the htlc interceptor with a simple implementation that saves
// all intercepted packets. These packets are held to simulate a