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