mirror of
https://github.com/aljazceru/lightning.git
synced 2026-02-23 15:04:19 +01:00
wallet: Allow limiting the selection by confirmation height
This allows us to specify that an output must have been confirmed before the given maximum height. This allows us to specify a minimum number of confirmations for an output to be selected. Signed-off-by: Christian Decker <decker.christian@gmail.com>
This commit is contained in:
committed by
Rusty Russell
parent
4986d6b39d
commit
68fe5eacde
@@ -891,7 +891,7 @@ static struct command_result *json_fund_channel(struct command *cmd,
|
||||
}
|
||||
|
||||
res = wtx_select_utxos(&fc->wtx, *feerate_per_kw,
|
||||
BITCOIN_SCRIPTPUBKEY_P2WSH_LEN);
|
||||
BITCOIN_SCRIPTPUBKEY_P2WSH_LEN, 0);
|
||||
if (res)
|
||||
return res;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user