mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-02-03 09:56:38 -05:00
Actually use includeWatching value in fundrawtransaction
Previously if you called fundrawtransaction and set includeWatching to false it'd act as through you set it to true.
This commit is contained in:
parent
dbd2c135dd
commit
61e1eb2e1c
1 changed files with 1 additions and 1 deletions
|
@ -2420,7 +2420,7 @@ UniValue fundrawtransaction(const UniValue& params, bool fHelp)
|
|||
|
||||
bool includeWatching = false;
|
||||
if (params.size() > 1)
|
||||
includeWatching = true;
|
||||
includeWatching = params[1].get_bool();
|
||||
|
||||
CMutableTransaction tx(origTx);
|
||||
CAmount nFee;
|
||||
|
|
Loading…
Add table
Reference in a new issue