fix pyright

This commit is contained in:
dni
2026-07-13 09:09:41 +02:00
parent 69c72e1d86
commit d559d5d278
2 changed files with 11 additions and 15 deletions
+1 -1
View File
@@ -70,7 +70,7 @@ async def api_tx(txid: str) -> Transaction:
_check_enabled()
try:
async with _client() as c:
raw_hex = await c.get_transaction(txid, verbose=False)
raw_hex = await c.get_transaction(txid)
return parse_raw_tx(raw_hex)
except ElectrumError as e:
raise HTTPException(HTTPStatus.SERVICE_UNAVAILABLE, detail=str(e)) from e