mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-18 13:17:55 +02:00
Rename CCoinsCacheEntry::coins to coin
This commit is contained in:
parent
119e552f7c
commit
73de2c1ff3
4 changed files with 33 additions and 33 deletions
|
|
@ -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++;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue