mirror of
https://github.com/aljazceru/lightning.git
synced 2026-01-05 23:24:21 +01:00
fundpsbt: deprecate reserve=true/false usage.
Make it always a number; this makes the JSON request specification simpler. We allowed a number since v0.10.1. (reserve=True is the default anyway, so usually it can be omitted: reserve=False becomes reserve=0). Changelog-Deprecated: JSON-RPC: `fundpsbt`/`utxopsbt` `reserve` must be a number, not bool (for `true` use 72/don't specify, for `false` use 0). Numbers have been allowed since v0.10.1.
This commit is contained in:
@@ -369,7 +369,6 @@ static struct command_result *start_mw(struct multiwithdraw_command *mw)
|
||||
mw);
|
||||
json_add_u32(req->js, "minconf", *mw->minconf);
|
||||
}
|
||||
json_add_bool(req->js, "reserve", true);
|
||||
if (mw->has_all)
|
||||
json_add_string(req->js, "satoshi", "all");
|
||||
else {
|
||||
|
||||
Reference in New Issue
Block a user