diff options
author | Wladimir J. van der Laan <laanwj@gmail.com> | 2016-01-20 15:15:29 +0100 |
---|---|---|
committer | Wladimir J. van der Laan <laanwj@gmail.com> | 2016-01-20 15:15:51 +0100 |
commit | 9982710e88687706686bb132d3737ce3befd8eeb (patch) | |
tree | ce0103f888d3e257a276e3fd4e237ca86d6b9159 /src/init.cpp | |
parent | 82429d08610e8c059d6e713c52743399c767be4e (diff) | |
parent | dd2dc400eed7c4e8521d1264d652ee32070d2c47 (diff) |
Merge #7307: [RPC, Wallet] Move RPC dispatch table registration to wallet/ code
dd2dc40 [RPC, Wallet] Move RPC dispatch table registration to wallet/ code (Jonas Schnelli)
Diffstat (limited to 'src/init.cpp')
-rw-r--r-- | src/init.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/init.cpp b/src/init.cpp index 0a0e587763..282ede55c1 100644 --- a/src/init.cpp +++ b/src/init.cpp @@ -935,6 +935,8 @@ bool AppInit2(boost::thread_group& threadGroup, CScheduler& scheduler) #ifdef ENABLE_WALLET bool fDisableWallet = GetBoolArg("-disablewallet", false); + if (!fDisableWallet) + walletRegisterRPCCommands(); #endif nConnectTimeout = GetArg("-timeout", DEFAULT_CONNECT_TIMEOUT); |