Reduce log noise for watched outputs that were never broadcast.

This commit is contained in:
gerlofvanek
2026-01-28 23:29:03 +01:00
parent 75f058dad6
commit e719ba3d6f

View File

@@ -2937,7 +2937,11 @@ class BTCInterface(Secp256k1Interface):
"height": tx_entry.get("height", 0), "height": tx_entry.get("height", 0),
} }
except Exception as e: except Exception as e:
self._log.debug(f"checkWatchedOutput exception for {txid_hex}:{vout}: {e}") error_msg = str(e).lower()
if "no such mempool or blockchain transaction" not in error_msg:
self._log.debug(
f"checkWatchedOutput exception for {txid_hex}:{vout}: {e}"
)
return None return None
def checkWatchedScript(self, script: bytes): def checkWatchedScript(self, script: bytes):