diff options
| author | Jonas Schnelli <[email protected]> | 2015-04-12 17:56:44 +0200 |
|---|---|---|
| committer | Jonas Schnelli <[email protected]> | 2015-04-12 19:37:29 +0200 |
| commit | b9fb692d04e90967b14c6988553c9121c5eea64e (patch) | |
| tree | 0e7c4d478456af92478cc7df3ab07b0802f64ad4 /src/init.cpp | |
| parent | [move] move listunspent to wallet/rpcwallet.cpp (diff) | |
| download | discoin-b9fb692d04e90967b14c6988553c9121c5eea64e.tar.xz discoin-b9fb692d04e90967b14c6988553c9121c5eea64e.zip | |
Push down RPC reqWallet flag
Diffstat (limited to 'src/init.cpp')
| -rw-r--r-- | src/init.cpp | 5 |
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) && |