mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-08-29 15:11:09 +02:00
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:
@@ -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
|
||||
|
Reference in New Issue
Block a user