[RPC, Wallet] Move RPC dispatch table registration to wallet/ code
This commit is contained in:
committed by
lateminer
parent
ce7f082de5
commit
6bab17dc2d
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user