Fix outdated comment

This commit is contained in:
Sean Bowe 2018-05-07 13:43:55 -06:00
parent 98d2f090ca
commit e390a475c1
1 changed files with 2 additions and 2 deletions

View File

@ -201,9 +201,9 @@ void CCoinsViewCache::AbstractPushAnchor(
auto currentRoot = GetBestAnchor(type);
// We don't want to overwrite an anchor we already have.
// This occurs when a block doesn't modify mapSproutAnchors at all,
// This occurs when a block doesn't modify mapAnchors at all,
// because there are no joinsplits. We could get around this a
// different way (make all blocks modify mapSproutAnchors somehow)
// different way (make all blocks modify mapAnchors somehow)
// but this is simpler to reason about.
if (currentRoot != newrt) {
auto insertRet = cacheAnchors.insert(std::make_pair(newrt, CacheEntry()));