Fix outdated comment
This commit is contained in:
@@ -201,9 +201,9 @@ void CCoinsViewCache::AbstractPushAnchor(
|
|||||||
auto currentRoot = GetBestAnchor(type);
|
auto currentRoot = GetBestAnchor(type);
|
||||||
|
|
||||||
// We don't want to overwrite an anchor we already have.
|
// 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
|
// 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.
|
// but this is simpler to reason about.
|
||||||
if (currentRoot != newrt) {
|
if (currentRoot != newrt) {
|
||||||
auto insertRet = cacheAnchors.insert(std::make_pair(newrt, CacheEntry()));
|
auto insertRet = cacheAnchors.insert(std::make_pair(newrt, CacheEntry()));
|
||||||
|
|||||||
Reference in New Issue
Block a user