This commit is contained in:
parent
07f8ec41a1
commit
59c07e315a
1 changed files with 2 additions and 1 deletions
|
@ -1321,6 +1321,7 @@ class SecondaryDB:
|
|||
for tx_hash_bytes, tx in zip(needed_mempool, await run_in_executor(
|
||||
self._executor, self.prefix_db.mempool_tx.multi_get, [(tx_hash,) for tx_hash in needed_mempool],
|
||||
True, False)):
|
||||
if tx is not None:
|
||||
self.tx_cache[tx_hash_bytes] = tx, None, None, -1
|
||||
tx_infos[tx_hash_bytes[::-1].hex()] = None if not tx else tx.hex(), {'block_height': -1}
|
||||
await asyncio.sleep(0)
|
||||
|
|
Loading…
Reference in a new issue