Revert "rpc: include the FinalCltvDelta when writing new invoices to disk"
This reverts commit 4e264ee88e765b9cd15369a02378091c6520a1e6.
This commit is contained in:
parent
e5f802c33c
commit
c914de177b
@ -2660,8 +2660,7 @@ func (r *rpcServer) AddInvoice(ctx context.Context,
|
||||
Receipt: invoice.Receipt,
|
||||
PaymentRequest: []byte(payReqString),
|
||||
Terms: channeldb.ContractTerm{
|
||||
Value: amtMSat,
|
||||
FinalCltvDelta: uint16(payReq.MinFinalCLTVExpiry()),
|
||||
Value: amtMSat,
|
||||
},
|
||||
}
|
||||
copy(i.Terms.PaymentPreimage[:], paymentPreimage[:])
|
||||
|
Loading…
Reference in New Issue
Block a user