mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-09-06 17:47:01 +02:00
itest: assert payment status after sending
This commit is contained in:
@@ -632,8 +632,10 @@ func testRejectHTLC(ht *lntest.HarnessTest) {
|
||||
TimeoutSeconds: 60,
|
||||
FeeLimitMsat: noFeeLimitMsat,
|
||||
}
|
||||
payStream := alice.RPC.SendPayment(paymentReq)
|
||||
ht.AssertPaymentStatusFromStream(payStream, lnrpc.Payment_FAILED)
|
||||
ht.SendPaymentAssertFail(
|
||||
alice, paymentReq,
|
||||
lnrpc.PaymentFailureReason_FAILURE_REASON_NO_ROUTE,
|
||||
)
|
||||
|
||||
ht.AssertLastHTLCError(alice, lnrpc.Failure_CHANNEL_DISABLED)
|
||||
|
||||
|
Reference in New Issue
Block a user