From 6e69e1a272162b3308806bf936e0300d42ebcea8 Mon Sep 17 00:00:00 2001 From: Jack Robison Date: Thu, 28 Apr 2022 15:53:00 -0400 Subject: [PATCH] remove unused attribute --- scribe/db/merkle.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/scribe/db/merkle.py b/scribe/db/merkle.py index c3a3a08..3321fa1 100644 --- a/scribe/db/merkle.py +++ b/scribe/db/merkle.py @@ -279,10 +279,9 @@ class MerkleCache: class FastMerkleCacheItem: - __slots__ = ['tx_hashes', 'tree', 'root_hash'] + __slots__ = ['tree', 'root_hash'] def __init__(self, tx_hashes: typing.List[bytes]): - self.tx_hashes = tuple(tx_hashes) self.tree: typing.List[typing.List[bytes]] = [] self.root_hash = self._walk_merkle(tx_hashes, self.tree.append)