use blockstream.info as default block explorer
This commit is contained in:
parent
6d5b28a9c5
commit
39fb5b8f58
@ -674,7 +674,7 @@ def block_explorer_info():
|
||||
|
||||
def block_explorer(config: 'SimpleConfig') -> str:
|
||||
from . import constants
|
||||
default_ = 'Blockchair.com' if not constants.net.TESTNET else 'smartbit.com.au'
|
||||
default_ = 'Blockstream.info'
|
||||
be_key = config.get('block_explorer', default_)
|
||||
be = block_explorer_info().get(be_key)
|
||||
return be_key if be is not None else default_
|
||||
|
||||
Loading…
Reference in New Issue
Block a user