1
0

addr_sync.receive_tx_callback: rm redundant tx_hash arg

This commit is contained in:
SomberNight
2023-10-24 16:07:30 +00:00
parent fce83c708c
commit bb76b836a3
5 changed files with 127 additions and 127 deletions

View File

@@ -240,7 +240,7 @@ class Synchronizer(SynchronizerBase):
if tx_hash != tx.txid():
raise SynchronizerFailure(f"received tx does not match expected txid ({tx_hash} != {tx.txid()})")
tx_height = self.requested_tx.pop(tx_hash)
self.adb.receive_tx_callback(tx_hash, tx, tx_height)
self.adb.receive_tx_callback(tx, tx_height)
self.logger.info(f"received tx {tx_hash} height: {tx_height} bytes: {len(raw_tx)}")
async def main(self):