lntest+itest: change the method signature of AssertPaymentStatus

So this can be used in other tests when we only care about the payment
hash.
This commit is contained in:
yyforyongyu committed 2025-02-28 19:07:38 +08:00
1 parent dfd43c972c
commit 2d5a2ce78a
9 files changed
+49 -43

No files matched your search

+1 -1
View File
@@ -200,7 +200,7 @@ func testSendToRouteMultiPath(ht *lntest.HarnessTest) {
copy(preimage[:], invoices[0].RPreimage)
payment := ht.AssertPaymentStatus(
hn, preimage, lnrpc.Payment_SUCCEEDED,
hn, preimage.Hash(), lnrpc.Payment_SUCCEEDED,
)
htlcs := payment.Htlcs