We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b411c2a commit 7963335Copy full SHA for 7963335
src/wallet/init.cpp
@@ -178,15 +178,18 @@ bool WalletParameterInteraction()
178
179
void RegisterWalletRPC(CRPCTable &t)
180
{
181
- if (gArgs.GetBoolArg("-disablewallet", false)) return;
+ if (gArgs.GetBoolArg("-disablewallet", DEFAULT_DISABLE_WALLET)) {
182
+ return;
183
+ }
184
185
RegisterWalletRPCCommands(t);
186
}
187
188
bool VerifyWallets()
189
- if (gArgs.GetBoolArg("-disablewallet", DEFAULT_DISABLE_WALLET))
190
191
return true;
192
193
194
uiInterface.InitMessage(_("Verifying wallet(s)..."));
195
0 commit comments