aboutsummaryrefslogtreecommitdiff
path: root/src/coins.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/coins.cpp
parented27e53c9be3c2e194b3e7cff85933531aef4cc8 (diff)
Get rid of the dummy CCoinsViewCache constructor arg
Diffstat (limited to 'src/coins.cpp')
-rw-r--r--src/coins.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/coins.cpp b/src/coins.cpp
index 9d60089bf5..6b7ebf6078 100644
--- a/src/coins.cpp
+++ b/src/coins.cpp
@@ -59,7 +59,7 @@ bool CCoinsView::BatchWrite(CCoinsMap &mapCoins, const uint256 &hashBlock) { ret
bool CCoinsView::GetStats(CCoinsStats &stats) const { return false; }
-CCoinsViewBacked::CCoinsViewBacked(CCoinsView &viewIn) : base(&viewIn) { }
+CCoinsViewBacked::CCoinsViewBacked(CCoinsView *viewIn) : base(viewIn) { }
bool CCoinsViewBacked::GetCoins(const uint256 &txid, CCoins &coins) const { return base->GetCoins(txid, coins); }
bool CCoinsViewBacked::HaveCoins(const uint256 &txid) const { return base->HaveCoins(txid); }
uint256 CCoinsViewBacked::GetBestBlock() const { return base->GetBestBlock(); }
@@ -69,7 +69,7 @@ bool CCoinsViewBacked::GetStats(CCoinsStats &stats) const { return base->GetStat
CCoinsKeyHasher::CCoinsKeyHasher() : salt(GetRandHash()) {}
-CCoinsViewCache::CCoinsViewCache(CCoinsView &baseIn, bool fDummy) : CCoinsViewBacked(baseIn), hasModifier(false), hashBlock(0) { }
+CCoinsViewCache::CCoinsViewCache(CCoinsView *baseIn) : CCoinsViewBacked(baseIn), hasModifier(false), hashBlock(0) { }
CCoinsViewCache::~CCoinsViewCache()
{