add comment

This commit is contained in:
Jack Robison 2023-01-06 16:50:16 -05:00
parent d1d33c4bce
commit f55ed56215

View file

@ -1873,6 +1873,8 @@ class BlockchainProcessorService(BlockchainService):
continue continue
hasher = existing_status_hashers[hashX] hasher = existing_status_hashers[hashX]
if hasher is None: if hasher is None:
# this is to migrate in the new column family, in the future it can be a new digester
# hasher = ResumableSHA256()
hasher = _rebuild_hasher(tx_nums) hasher = _rebuild_hasher(tx_nums)
else: else:
self.db.prefix_db.hashX_history_hasher.stash_delete((hashX,), (hasher,)) self.db.prefix_db.hashX_history_hasher.stash_delete((hashX,), (hasher,))