From 73de2c1ff345ac38c098d7b1bef03176f3ea1f16 Mon Sep 17 00:00:00 2001 From: Pieter Wuille Date: Thu, 4 May 2017 00:15:36 -0700 Subject: Rename CCoinsCacheEntry::coins to coin --- src/txdb.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/txdb.cpp') diff --git a/src/txdb.cpp b/src/txdb.cpp index 205b1b0a8..45a7d69a3 100644 --- a/src/txdb.cpp +++ b/src/txdb.cpp @@ -75,10 +75,10 @@ bool CCoinsViewDB::BatchWrite(CCoinsMap &mapCoins, const uint256 &hashBlock) { for (CCoinsMap::iterator it = mapCoins.begin(); it != mapCoins.end();) { if (it->second.flags & CCoinsCacheEntry::DIRTY) { CoinsEntry entry(&it->first); - if (it->second.coins.IsPruned()) + if (it->second.coin.IsPruned()) batch.Erase(entry); else - batch.Write(entry, it->second.coins); + batch.Write(entry, it->second.coin); changed++; } count++; -- cgit v1.2.3