mirror of
https://github.com/lnbits/lnbits.git
synced 2026-08-13 12:42:47 +02:00
fix lint
This commit is contained in:
parent
c3b670317b
commit
cf4ea07e2d
2 changed files with 3 additions and 4 deletions
|
|
@ -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
|
||||
)
|
||||
|
|
|
|||
|
|
@ -950,7 +950,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',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue