adb: change API of util.TxMinedInfo: height() is now always SPV-ed

This commit is contained in:
SomberNight
2025-09-10 15:24:28 +00:00
parent 47f1a2d7a2
commit b944371ffd
21 changed files with 105 additions and 87 deletions

View File

@@ -218,7 +218,7 @@ class WatchTower(Logger, EventListener):
return keep_watching
async def broadcast_or_log(self, funding_outpoint: str, tx: Transaction):
height = self.adb.get_tx_height(tx.txid()).height
height = self.adb.get_tx_height(tx.txid()).height()
if height != TX_HEIGHT_LOCAL:
return
try: