mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-09-28 01:36:34 +02:00
channeldb/payments_test: handle that dupe payments will always have StatusSuccess
Legacy duplicate payments would only be migrated over if they had succeeded. Alter the test to reflect this.
This commit is contained in:
@@ -466,7 +466,7 @@ func TestPaymentControlDeleteNonInFligt(t *testing.T) {
|
||||
if p.hasDuplicate {
|
||||
appendDuplicatePayment(
|
||||
t, pControl.db, info.PaymentHash,
|
||||
uint64(duplicateSeqNr),
|
||||
uint64(duplicateSeqNr), preimg,
|
||||
)
|
||||
duplicateSeqNr++
|
||||
}
|
||||
|
Reference in New Issue
Block a user