From 1e3ab2d6d0be50ef9b22bcc196718a25538d33e2 Mon Sep 17 00:00:00 2001 From: dni Date: Tue, 7 Jul 2026 12:17:12 +0200 Subject: [PATCH] mypy --- lnbits/core/views/blockexplorer_api.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lnbits/core/views/blockexplorer_api.py b/lnbits/core/views/blockexplorer_api.py index 043c82106..838c66354 100644 --- a/lnbits/core/views/blockexplorer_api.py +++ b/lnbits/core/views/blockexplorer_api.py @@ -77,13 +77,13 @@ async def _tx_status( # History too large; check mempool to determine confirmation status. try: mempool = await c.get_mempool(scripthash) - for entry in mempool: - if entry.tx_hash == txid: + for mem in mempool: + if mem.tx_hash == txid: return { "txid": txid, "confirmed": False, "height": None, - "fee": entry.fee, + "fee": mem.fee, } return {"txid": txid, "confirmed": True, "height": None, "fee": None} except ElectrumError: