mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-08-29 15:11:09 +02:00
channeldb test: add TestOutgoingPaymentsMigration
This commit is contained in:
@@ -124,7 +124,10 @@ func makeRandomFakePayment() (*OutgoingPayment, error) {
|
||||
return nil, err
|
||||
}
|
||||
|
||||
fakeInvoice.PaymentRequest = []byte("")
|
||||
fakeInvoice.PaymentRequest, err = randomBytes(1, 50)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
|
||||
preImg, err := randomBytes(32, 33)
|
||||
if err != nil {
|
||||
|
Reference in New Issue
Block a user