mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-07-06 05:32:08 +02: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:
@ -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;
|
||||
|
Reference in New Issue
Block a user