fix lint
This commit is contained in:
@@ -76,9 +76,7 @@ async def fetch_onchain_balance(onchain_address: str) -> AddressResponse:
|
|||||||
if isinstance(balance_res, BaseException):
|
if isinstance(balance_res, BaseException):
|
||||||
raise balance_res
|
raise balance_res
|
||||||
history = [] if isinstance(history_res, BaseException) else history_res
|
history = [] if isinstance(history_res, BaseException) else history_res
|
||||||
history_error = (
|
history_error = str(history_res) if isinstance(history_res, BaseException) else None
|
||||||
str(history_res) if isinstance(history_res, BaseException) else None
|
|
||||||
)
|
|
||||||
return AddressResponse(
|
return AddressResponse(
|
||||||
balance=balance_res, history=history, history_error=history_error
|
balance=balance_res, history=history, history_error=history_error
|
||||||
)
|
)
|
||||||
|
|||||||
@@ -851,7 +851,8 @@ window.localisation.en = {
|
|||||||
'Allow unauthenticated access to the block explorer API endpoints.',
|
'Allow unauthenticated access to the block explorer API endpoints.',
|
||||||
electrum_compatible_server: 'Electrum compatible server',
|
electrum_compatible_server: 'Electrum compatible server',
|
||||||
electrum_server_url: 'Electrum Server URL',
|
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',
|
electrum_server_url_custom: 'Custom Electrum Server URL',
|
||||||
view_public_electrum_servers: 'View public Electrum servers',
|
view_public_electrum_servers: 'View public Electrum servers',
|
||||||
blockexplorer_network: 'Bitcoin Network',
|
blockexplorer_network: 'Bitcoin Network',
|
||||||
|
|||||||
Reference in New Issue
Block a user