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.
pull/262/head
Peter Todd 9 years ago
parent dbd2c135dd
commit 61e1eb2e1c
No known key found for this signature in database
GPG Key ID: C085F21CE7F4B9DC

@ -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