channeldb: complete migration 12 for TLV invoices

This commit is contained in:
Conner Fromknecht
2019-11-22 02:24:28 -08:00
parent 76682ad820
commit 4c872c438b
10 changed files with 216 additions and 144 deletions

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,
}