aboutsummaryrefslogtreecommitdiff
path: root/src/bitcoinrpc.cpp
diff options
context:
space:
mode:
authorPieter Wuille <pieter.wuille@gmail.com>2012-04-17 20:12:48 +0200
committerPieter Wuille <pieter.wuille@gmail.com>2012-04-17 20:12:48 +0200
commitc23617fef3086e0d11ccfa288afa1c1d177bcdc8 (patch)
tree1e73b39153c9fbed651b094906ff119fa3ba522a /src/bitcoinrpc.cpp
parentcaeddc5d3738c95e0755560aa3d9b1f32e9fbce5 (diff)
parentca4c4c53a8b1417563c72da0aea626f111a7f25d (diff)
Merge remote-tracking branch 'jgarzik/mempool'
Diffstat (limited to 'src/bitcoinrpc.cpp')
-rw-r--r--src/bitcoinrpc.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bitcoinrpc.cpp b/src/bitcoinrpc.cpp
index b7d00c40cd..3c2d69e506 100644
--- a/src/bitcoinrpc.cpp
+++ b/src/bitcoinrpc.cpp
@@ -367,7 +367,7 @@ Value getmininginfo(const Array& params, bool fHelp)
obj.push_back(Pair("generate", GetBoolArg("-gen")));
obj.push_back(Pair("genproclimit", (int)GetArg("-genproclimit", -1)));
obj.push_back(Pair("hashespersec", gethashespersec(params, false)));
- obj.push_back(Pair("pooledtx", (uint64_t)nPooledTx));
+ obj.push_back(Pair("pooledtx", (uint64_t)mempool.size()));
obj.push_back(Pair("testnet", fTestNet));
return obj;
}