Skip to content

lnd updatechanpolicy has confusing --help #1523

@abrkn

Description

@abrkn

Background

lncli updatechanpolicy states that the default --time_lock_delta is 0:

--time_lock_delta value  the CLTV delta that will be applied to all forwarded HTLCs (default: 0)

However:

lncli updatechanpolicy --fee_rate 0.001 --base_fee_msat 100000 --time_lock_delta 0```

results in

[lncli] rpc error: code = Unknown desc = time lock delta of 0 is too small, minimum supported is 4


### Your environment

lncli version 0.4.2 commit=a0b2fadea35fa4642daf4e9f56e6ecfe31d22ce1


### Steps to reproduce

lncli updatechanpolicy --fee_rate 0.001 --base_fee_msat 100000 --time_lock_delta 0```

Expected behaviour

Unsure

Actual behaviour

Error. See above.

Metadata

Metadata

Assignees

Labels

P4low priobeginnerIssues suitable for new developersdocumentationDocumentation changes that do not affect code behaviourgood first issueIssues suitable for first time contributors to LNDhelp wanted

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions