rpc: use default if conf-target is not set

This commit uses the new coop-close-target-confs value as the default to
use for a nodes self initiated channel closures if the conf-target flag
for the channel closure is not set. The defaults for both these options
is 6 so this shouldnt change current behaviour.
This commit is contained in:
Elle Mouton
2021-03-03 10:44:42 +02:00
parent 3b412ce50f
commit 9e9c48fcdd
3 changed files with 14 additions and 3 deletions

View File

@@ -669,7 +669,9 @@ var closeChannelCommand = cli.Command{
Name: "conf_target",
Usage: "(optional) the number of blocks that the " +
"transaction *should* confirm in, will be " +
"used for fee estimation",
"used for fee estimation. If not set, " +
"then the conf-target value set in the main " +
"lnd config will be used.",
},
cli.Int64Flag{
Name: "sat_per_byte",