1
0

adb: (trivial) receive_tx_callback: make tx_height param kw-only

This commit is contained in:
SomberNight
2025-05-15 19:07:53 +00:00
parent 626264d24f
commit 61283fe18b
7 changed files with 132 additions and 132 deletions

View File

@@ -434,7 +434,7 @@ class AddressSynchronizer(Logger, EventListener):
children |= self.get_depending_transactions(other_hash)
return children
def receive_tx_callback(self, tx: Transaction, tx_height: int) -> None:
def receive_tx_callback(self, tx: Transaction, *, tx_height: int) -> None:
txid = tx.txid()
assert txid is not None
self.add_unverified_or_unconfirmed_tx(txid, tx_height)