aboutsummaryrefslogtreecommitdiff
path: root/src/rpc/rawtransaction.cpp
diff options
context:
space:
mode:
authorLuke Dashjr <luke-jr+git@utopios.org>2016-09-09 05:32:12 +0000
committerLuke Dashjr <luke-jr+git@utopios.org>2017-02-27 20:45:17 +0000
commiteca550f2501f3f2bbe682bdc3cb8b90c90c90275 (patch)
tree8c6f62693149cdb3a901f3ee86873ac9e9851e25 /src/rpc/rawtransaction.cpp
parent94e5ba9ba2901c8205c1814ece8e2fafbff63a03 (diff)
RPC/Wallet: Pass CWallet as pointer to helper functions
Diffstat (limited to 'src/rpc/rawtransaction.cpp')
-rw-r--r--src/rpc/rawtransaction.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rpc/rawtransaction.cpp b/src/rpc/rawtransaction.cpp
index bf16f27498..faafe9829b 100644
--- a/src/rpc/rawtransaction.cpp
+++ b/src/rpc/rawtransaction.cpp
@@ -603,7 +603,7 @@ UniValue signrawtransaction(const JSONRPCRequest& request)
"The third optional argument (may be null) is an array of base58-encoded private\n"
"keys that, if given, will be the only keys used to sign the transaction.\n"
#ifdef ENABLE_WALLET
- + HelpRequiringPassphrase() + "\n"
+ + HelpRequiringPassphrase(pwalletMain) + "\n"
#endif
"\nArguments:\n"
@@ -718,7 +718,7 @@ UniValue signrawtransaction(const JSONRPCRequest& request)
}
#ifdef ENABLE_WALLET
else if (pwalletMain)
- EnsureWalletIsUnlocked();
+ EnsureWalletIsUnlocked(pwalletMain);
#endif
// Add previous txouts given in the RPC call: