aboutsummaryrefslogtreecommitdiff
path: root/src/txmempool.cpp
diff options
context:
space:
mode:
authorPieter Wuille <[email protected]>2014-09-24 03:19:04 +0200
committerPieter Wuille <[email protected]>2014-09-24 03:19:04 +0200
commit7c70438dc67547e83953ba0343a071fae304ce65 (patch)
tree88683dd773ad889a630e5262b5051e85262c6bdc /src/txmempool.cpp
parentAdd coins_tests with a large randomized CCoinViewCache test. (diff)
downloaddiscoin-7c70438dc67547e83953ba0343a071fae304ce65.tar.xz
discoin-7c70438dc67547e83953ba0343a071fae304ce65.zip
Get rid of the dummy CCoinsViewCache constructor arg
Diffstat (limited to 'src/txmempool.cpp')
-rw-r--r--src/txmempool.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/txmempool.cpp b/src/txmempool.cpp
index 52d07bf6a..bfa8dbb46 100644
--- a/src/txmempool.cpp
+++ b/src/txmempool.cpp
@@ -630,7 +630,7 @@ void CTxMemPool::ClearPrioritisation(const uint256 hash)
}
-CCoinsViewMemPool::CCoinsViewMemPool(CCoinsView &baseIn, CTxMemPool &mempoolIn) : CCoinsViewBacked(baseIn), mempool(mempoolIn) { }
+CCoinsViewMemPool::CCoinsViewMemPool(CCoinsView *baseIn, CTxMemPool &mempoolIn) : CCoinsViewBacked(baseIn), mempool(mempoolIn) { }
bool CCoinsViewMemPool::GetCoins(const uint256 &txid, CCoins &coins) const {
// If an entry in the mempool exists, always return that one, as it's guaranteed to never