[wallet] Add RegisterWalletRPC() function to wallet/init.cpp

This commit is contained in:
John Newbery
2017-08-28 13:33:59 -04:00
parent 062d63102e
commit 290f3c56d9
5 changed files with 17 additions and 4 deletions

View File

@@ -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]);
}