[RPC, Wallet] Move RPC dispatch table registration to wallet/ code

This commit is contained in:
Jonas Schnelli
2016-01-07 08:33:49 +01:00
committed by lateminer
parent ce7f082de5
commit 6bab17dc2d
8 changed files with 107 additions and 95 deletions

View File

@@ -919,6 +919,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);