Browse Source

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.
0.13
Peter Todd 9 years ago
parent
commit
61e1eb2e1c
No known key found for this signature in database
GPG Key ID: C085F21CE7F4B9DC
  1. 2
      src/wallet/rpcwallet.cpp

2
src/wallet/rpcwallet.cpp

@ -2420,7 +2420,7 @@ UniValue fundrawtransaction(const UniValue& params, bool fHelp) @@ -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…
Cancel
Save