Merge pull request #8491 from davidgumberg/invoice_cltv_expiry
Expose `cltv_expiry` flag of `addinvoice` to cli
This commit is contained in:
4 files changed
+23
-1
No files matched your search
@@ -367,7 +367,7 @@ func AddInvoice(ctx context.Context, cfg *AddInvoiceConfig,
|
||||
if invoice.CltvExpiry < routing.MinCLTVDelta {
|
||||
return nil, nil, fmt.Errorf("CLTV delta of %v must be "+
|
||||
"greater than minimum of %v",
|
||||
routing.MinCLTVDelta, invoice.CltvExpiry)
|
||||
invoice.CltvExpiry, routing.MinCLTVDelta)
|
||||
}
|
||||
|
||||
options = append(options,
|
||||
|
||||
Reference in new issue
Block a user