aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/rpcwallet.cpp
diff options
context:
space:
mode:
authorPeter Todd <[email protected]>2015-11-13 15:45:29 -0500
committerPeter Todd <[email protected]>2015-11-13 15:45:29 -0500
commit61e1eb2e1c038ef10009921d0e991b4d1f262f51 (patch)
treeaca32db5092d2487a855d00c8a3180336a94f65c /src/wallet/rpcwallet.cpp
parentMerge pull request #6990 (diff)
downloaddiscoin-61e1eb2e1c038ef10009921d0e991b4d1f262f51.tar.xz
discoin-61e1eb2e1c038ef10009921d0e991b4d1f262f51.zip
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.
Diffstat (limited to 'src/wallet/rpcwallet.cpp')
-rw-r--r--src/wallet/rpcwallet.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wallet/rpcwallet.cpp b/src/wallet/rpcwallet.cpp
index d93050d98..0bd130327 100644
--- a/src/wallet/rpcwallet.cpp
+++ b/src/wallet/rpcwallet.cpp
@@ -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;