diff options
author | Pavel Janík <Pavel@Janik.cz> | 2016-06-07 18:42:42 +0200 |
---|---|---|
committer | Pavel Janík <Pavel@Janik.cz> | 2016-08-25 15:02:26 +0200 |
commit | de1bbe3b7876e311ebba5445b7b251782c0a7e0a (patch) | |
tree | c4908b0d4f507b82a4bd3c881ef0da1a8ba057f2 /src/rpc/blockchain.cpp | |
parent | 1030fa718c59c29d3208af13e853457b7ac59d2e (diff) |
Do not shadow global RPC table variable (tableRPC)
Diffstat (limited to 'src/rpc/blockchain.cpp')
-rw-r--r-- | src/rpc/blockchain.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rpc/blockchain.cpp b/src/rpc/blockchain.cpp index e3c32d905a..7f391da097 100644 --- a/src/rpc/blockchain.cpp +++ b/src/rpc/blockchain.cpp @@ -1205,8 +1205,8 @@ static const CRPCCommand commands[] = { "hidden", "reconsiderblock", &reconsiderblock, true }, }; -void RegisterBlockchainRPCCommands(CRPCTable &tableRPC) +void RegisterBlockchainRPCCommands(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]); } |