aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorfurszy <matiasfurszyfer@protonmail.com>2022-09-09 11:03:03 -0300
committerfurszy <matiasfurszyfer@protonmail.com>2022-09-13 16:13:05 -0300
commitddbcfdf3d050061f4e8979a0e2bb63bba5a43c47 (patch)
tree3a52297892b0c4271357ee52d685c596b602b2a5 /test
parent3c5fb9691b7b49042160cb161daa07ab2827c064 (diff)
downloadbitcoin-ddbcfdf3d050061f4e8979a0e2bb63bba5a43c47.tar.xz
RPC: bugfix, 'add_inputs' default value is true unless 'inputs' are provided
In both RPC commands `send()` and `walletcreatefundedpsbt` the RPC help was saying that `add_inputs` default value was false when it's actually dynamically set by the following statement: `coin_control.m_allow_other_inputs = rawTx.vin.size() == 0;` Which means that, by default, `add_inputs` is true unless there was any pre-set input, in which case, the default is false.
Diffstat (limited to 'test')
0 files changed, 0 insertions, 0 deletions