diff options
| author | Wladimir J. van der Laan <[email protected]> | 2016-08-31 16:04:22 +0200 |
|---|---|---|
| committer | Wladimir J. van der Laan <[email protected]> | 2016-08-31 16:07:58 +0200 |
| commit | 0c8875d23b37bca9e37e0c387ab5365d4e8758c5 (patch) | |
| tree | 1f335e48b4ec2d8842d419efef58fab22e6d2f29 /src/rpc/mining.cpp | |
| parent | Merge #8604: build,doc: Update for 0.13.0+ and OpenBSD 5.9 (diff) | |
| parent | Do not shadow global RPC table variable (tableRPC) (diff) | |
| download | discoin-0c8875d23b37bca9e37e0c387ab5365d4e8758c5.tar.xz discoin-0c8875d23b37bca9e37e0c387ab5365d4e8758c5.zip | |
Merge #8163: Do not shadow global RPC table variable (tableRPC)
de1bbe3 Do not shadow global RPC table variable (tableRPC) (Pavel JanÃk)
Diffstat (limited to 'src/rpc/mining.cpp')
| -rw-r--r-- | src/rpc/mining.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rpc/mining.cpp b/src/rpc/mining.cpp index a26340f3e..14183c8e8 100644 --- a/src/rpc/mining.cpp +++ b/src/rpc/mining.cpp @@ -919,8 +919,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]); } |