aboutsummaryrefslogtreecommitdiff
path: root/src/rpcblockchain.cpp
diff options
context:
space:
mode:
authorPieter Wuille <pieter.wuille@gmail.com>2014-09-24 03:19:04 +0200
committerPieter Wuille <pieter.wuille@gmail.com>2014-09-24 03:19:04 +0200
commit7c70438dc67547e83953ba0343a071fae304ce65 (patch)
tree88683dd773ad889a630e5262b5051e85262c6bdc /src/rpcblockchain.cpp
parented27e53c9be3c2e194b3e7cff85933531aef4cc8 (diff)
downloadbitcoin-7c70438dc67547e83953ba0343a071fae304ce65.tar.xz
Get rid of the dummy CCoinsViewCache constructor arg
Diffstat (limited to 'src/rpcblockchain.cpp')
-rw-r--r--src/rpcblockchain.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rpcblockchain.cpp b/src/rpcblockchain.cpp
index 4b3beae20c..24175215bf 100644
--- a/src/rpcblockchain.cpp
+++ b/src/rpcblockchain.cpp
@@ -381,7 +381,7 @@ Value gettxout(const Array& params, bool fHelp)
CCoins coins;
if (fMempool) {
LOCK(mempool.cs);
- CCoinsViewMemPool view(*pcoinsTip, mempool);
+ CCoinsViewMemPool view(pcoinsTip, mempool);
if (!view.GetCoins(hash, coins))
return Value::null;
mempool.pruneSpent(hash, coins); // TODO: this should be done by the CCoinsViewMemPool