[wallet] Add RegisterWalletRPC() function to wallet/init.cpp
This commit is contained in:
@@ -3217,9 +3217,6 @@ static const CRPCCommand commands[] =
|
||||
|
||||
void RegisterWalletRPCCommands(CRPCTable &t)
|
||||
{
|
||||
if (gArgs.GetBoolArg("-disablewallet", false))
|
||||
return;
|
||||
|
||||
for (unsigned int vcidx = 0; vcidx < ARRAYLEN(commands); vcidx++)
|
||||
t.appendCommand(commands[vcidx].name, &commands[vcidx]);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user