cleanup: remove out-dated TODO

TODO itself is removed in bitcoin#10618 (DNM)
But actually fixed in [merged] Merge #18021: Convert undo.h to new serialization framework
This commit is contained in:
Konstantin Akimov 2023-11-14 14:21:08 +07:00
parent ba97f49f2f
commit 89f10e7d67

View File

@ -259,7 +259,7 @@ void CCoinsViewCache::ReallocateCache()
::new (&cacheCoins) CCoinsMap(); ::new (&cacheCoins) CCoinsMap();
} }
static const size_t MAX_OUTPUTS_PER_BLOCK = MaxBlockSize() / ::GetSerializeSize(CTxOut(), PROTOCOL_VERSION); // TODO: merge with similar definition in undo.h. static const size_t MAX_OUTPUTS_PER_BLOCK = MaxBlockSize() / ::GetSerializeSize(CTxOut(), PROTOCOL_VERSION);
const Coin& AccessByTxid(const CCoinsViewCache& view, const uint256& txid) const Coin& AccessByTxid(const CCoinsViewCache& view, const uint256& txid)
{ {