connector
This commit is contained in:
parent
ff081c2aa5
commit
79544a046e
@ -592,8 +592,8 @@ class Connector:
|
||||
if not tx["coinbase"]:
|
||||
if block_height is not None:
|
||||
await self.wait_block_dependences(tx)
|
||||
# if self.utxo:
|
||||
# stxo = await self.get_stxo(tx, block_height, block_index)
|
||||
if self.utxo:
|
||||
stxo = await self.get_stxo(tx, block_height, block_index)
|
||||
|
||||
if self.tx_handler and not self.cache_loading:
|
||||
await self.tx_handler(tx, stxo, block_time, block_height, block_index)
|
||||
@ -872,7 +872,7 @@ class UTXO():
|
||||
def get(self, key, block_height):
|
||||
self._requests += 1
|
||||
try:
|
||||
i = self.cached.pop(key)
|
||||
i = self.cached.get(key)
|
||||
self.destroyed_utxo += 1
|
||||
# try:
|
||||
# self.destroyed[block_height].add(key)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user