diff options
| author | Wladimir J. van der Laan <[email protected]> | 2014-01-23 08:44:20 +0100 |
|---|---|---|
| committer | Wladimir J. van der Laan <[email protected]> | 2014-01-23 08:44:31 +0100 |
| commit | 8b2cf12b538fdf062b79c03f76626b541bfb66b7 (patch) | |
| tree | 7633d39d066303f966211aa2384460f1e759d4e8 /src/rpcwallet.cpp | |
| parent | Merge pull request #3560 (diff) | |
| parent | qt: allow `walletpassphrase` in debug console without -server (diff) | |
| download | discoin-8b2cf12b538fdf062b79c03f76626b541bfb66b7.tar.xz discoin-8b2cf12b538fdf062b79c03f76626b541bfb66b7.zip | |
Merge pull request #3553
a8db31c qt: allow `walletpassphrase` in debug console without -server (Wladimir J. van der Laan)
Diffstat (limited to 'src/rpcwallet.cpp')
| -rw-r--r-- | src/rpcwallet.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/rpcwallet.cpp b/src/rpcwallet.cpp index 8ad5c9c51..68f5fe525 100644 --- a/src/rpcwallet.cpp +++ b/src/rpcwallet.cpp @@ -1562,8 +1562,6 @@ Value walletpassphrase(const Array& params, bool fHelp) if (fHelp) return true; - if (!fServer) - throw JSONRPCError(RPC_SERVER_NOT_STARTED, "Error: RPC server was not started, use server=1 to change this."); if (!pwalletMain->IsCrypted()) throw JSONRPCError(RPC_WALLET_WRONG_ENC_STATE, "Error: running with an unencrypted wallet, but walletpassphrase was called."); |