aboutsummaryrefslogtreecommitdiff
path: root/src/txdb.cpp
diff options
context:
space:
mode:
authorPieter Wuille <pieter.wuille@gmail.com>2017-05-04 00:15:36 -0700
committerPieter Wuille <pieter.wuille@gmail.com>2017-06-01 13:15:25 -0700
commit73de2c1ff345ac38c098d7b1bef03176f3ea1f16 (patch)
tree697e34ca54310c6598ee033af7611f63173b57a5 /src/txdb.cpp
parent119e552f7ccd49c0137a3c6b4f94018a84d69620 (diff)
Rename CCoinsCacheEntry::coins to coin
Diffstat (limited to 'src/txdb.cpp')
-rw-r--r--src/txdb.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/txdb.cpp b/src/txdb.cpp
index 205b1b0a88..45a7d69a36 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++;