mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-12 06:58:57 +01:00
Do not shadow global RPC table variable (tableRPC)
This commit is contained in:
@@ -918,8 +918,8 @@ static const CRPCCommand commands[] =
|
||||
{ "util", "estimatesmartpriority", &estimatesmartpriority, true },
|
||||
};
|
||||
|
||||
void RegisterMiningRPCCommands(CRPCTable &tableRPC)
|
||||
void RegisterMiningRPCCommands(CRPCTable &t)
|
||||
{
|
||||
for (unsigned int vcidx = 0; vcidx < ARRAYLEN(commands); vcidx++)
|
||||
tableRPC.appendCommand(commands[vcidx].name, &commands[vcidx]);
|
||||
t.appendCommand(commands[vcidx].name, &commands[vcidx]);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user