Make nSPV disable wallet

This commit is contained in:
jl777
2019-07-02 01:54:11 -11:00
parent efec2490c8
commit 119a7e825b
3 changed files with 4 additions and 2 deletions

View File

@@ -1064,6 +1064,8 @@ bool AppInit2(boost::thread_group& threadGroup, CScheduler& scheduler)
RegisterAllCoreRPCCommands(tableRPC);
#ifdef ENABLE_WALLET
bool fDisableWallet = GetBoolArg("-disablewallet", false);
if ( KOMODO_NSPV != 0 )
fDisableWallet = true;
if (!fDisableWallet)
RegisterWalletRPCCommands(tableRPC);
#endif