connector
This commit is contained in:
parent
cbfeab35ea
commit
3d8d1d5196
@ -872,11 +872,11 @@ class UTXO():
|
||||
def get(self, key, block_height):
|
||||
self._requests += 1
|
||||
try:
|
||||
i = self.cached.peek(key)
|
||||
try:
|
||||
self.destroyed[block_height].add(key)
|
||||
except:
|
||||
self.destroyed[block_height] = {key}
|
||||
i = self.cached.pop(key)
|
||||
# try:
|
||||
# self.destroyed[block_height].add(key)
|
||||
# except:
|
||||
# self.destroyed[block_height] = {key}
|
||||
self._hit += 1
|
||||
return i
|
||||
except:
|
||||
|
||||
Loading…
Reference in New Issue
Block a user