From 5452de5b60f5d2dbf0dcbcae3cefe0150afc1900 Mon Sep 17 00:00:00 2001 From: dni Date: Tue, 7 Jul 2026 11:01:30 +0200 Subject: [PATCH] fix --- lnbits/core/views/blockexplorer_api.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lnbits/core/views/blockexplorer_api.py b/lnbits/core/views/blockexplorer_api.py index fd987bdb2..043c82106 100644 --- a/lnbits/core/views/blockexplorer_api.py +++ b/lnbits/core/views/blockexplorer_api.py @@ -169,7 +169,9 @@ async def api_address(address: str) -> AddressResponse: if isinstance(balance_res, BaseException): raise HTTPException(HTTPStatus.SERVICE_UNAVAILABLE, detail=str(balance_res)) history = [] if isinstance(history_res, BaseException) else history_res - history_error = str(history_res) if isinstance(history_res, BaseException) else None + history_error = ( + str(history_res) if isinstance(history_res, BaseException) else None + ) return AddressResponse( balance=balance_res, history=history, history_error=history_error )