aboutsummaryrefslogtreecommitdiff
path: root/src/init.cpp
diff options
context:
space:
mode:
authorWladimir J. van der Laan <[email protected]>2015-04-15 11:10:22 +0200
committerWladimir J. van der Laan <[email protected]>2015-04-15 11:10:23 +0200
commit4c4f1b4721c7c8ef54eb5eea0208482352503d24 (patch)
tree8472b882c0e7527322b5f2b157b9774b3d5998cf /src/init.cpp
parentMerge pull request #6007 (diff)
parent[squashme] fix listunspent code indentation (diff)
downloaddiscoin-4c4f1b4721c7c8ef54eb5eea0208482352503d24.tar.xz
discoin-4c4f1b4721c7c8ef54eb5eea0208482352503d24.zip
Merge pull request #5992
ea9e82d [squashme] fix listunspent code indentation (Jonas Schnelli) b9fb692 Push down RPC reqWallet flag (Jonas Schnelli) 0b9dc9c [move] move listunspent to wallet/rpcwallet.cpp (Jonas Schnelli)
Diffstat (limited to 'src/init.cpp')
-rw-r--r--src/init.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/init.cpp b/src/init.cpp
index 53e521983..eb3a3fe58 100644
--- a/src/init.cpp
+++ b/src/init.cpp
@@ -242,11 +242,6 @@ void OnRPCStopped()
void OnRPCPreCommand(const CRPCCommand& cmd)
{
-#ifdef ENABLE_WALLET
- if (cmd.reqWallet && !pwalletMain)
- throw JSONRPCError(RPC_METHOD_NOT_FOUND, "Method not found (disabled)");
-#endif
-
// Observe safe mode
string strWarning = GetWarnings("rpc");
if (strWarning != "" && !GetBoolArg("-disablesafemode", false) &&