diff --git a/lnbits/core/services/blockexplorer.py b/lnbits/core/services/blockexplorer.py index 0b856a29e..a812d4043 100644 --- a/lnbits/core/services/blockexplorer.py +++ b/lnbits/core/services/blockexplorer.py @@ -76,9 +76,7 @@ async def fetch_onchain_balance(onchain_address: str) -> AddressResponse: if isinstance(balance_res, BaseException): raise 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 ) diff --git a/lnbits/static/i18n/en.js b/lnbits/static/i18n/en.js index 9f91bf608..a2efec69f 100644 --- a/lnbits/static/i18n/en.js +++ b/lnbits/static/i18n/en.js @@ -851,7 +851,8 @@ window.localisation.en = { 'Allow unauthenticated access to the block explorer API endpoints.', electrum_compatible_server: 'Electrum compatible server', electrum_server_url: 'Electrum Server URL', - electrum_server_url_hint: 'Choose a public Electrum server or enter your own.', + electrum_server_url_hint: + 'Choose a public Electrum server or enter your own.', electrum_server_url_custom: 'Custom Electrum Server URL', view_public_electrum_servers: 'View public Electrum servers', blockexplorer_network: 'Bitcoin Network',