channeldb: complete migration 12 for TLV invoices

This commit is contained in:
Conner Fromknecht committed 2019-11-22 02:24:28 -08:00
1 parent 76682ad820
commit 4c872c438b
10 files changed
+216 -144

No files matched your search

+3
View File
@@ -562,6 +562,9 @@ func generatePaymentWithPreimage(invoiceAmt, htlcAmt lnwire.MilliSatoshi,
Terms: channeldb.ContractTerm{
Value: invoiceAmt,
PaymentPreimage: preimage,
Features: lnwire.NewFeatureVector(
nil, lnwire.Features,
),
},
FinalCltvDelta: testInvoiceCltvExpiry,
}