aboutsummaryrefslogtreecommitdiff
path: root/src/rpc/mining.cpp
diff options
context:
space:
mode:
authorPavel Janík <Pavel@Janik.cz>2016-06-07 18:42:42 +0200
committerPavel Janík <Pavel@Janik.cz>2016-08-25 15:02:26 +0200
commitde1bbe3b7876e311ebba5445b7b251782c0a7e0a (patch)
treec4908b0d4f507b82a4bd3c881ef0da1a8ba057f2 /src/rpc/mining.cpp
parent1030fa718c59c29d3208af13e853457b7ac59d2e (diff)
downloadbitcoin-de1bbe3b7876e311ebba5445b7b251782c0a7e0a.tar.xz
Do not shadow global RPC table variable (tableRPC)
Diffstat (limited to 'src/rpc/mining.cpp')
-rw-r--r--src/rpc/mining.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rpc/mining.cpp b/src/rpc/mining.cpp
index 2479e5d595..bc3e6c4ef7 100644
--- a/src/rpc/mining.cpp
+++ b/src/rpc/mining.cpp
@@ -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]);
}