Browse Source

use blockstream.info as default block explorer

master
ThomasV 7 years ago
parent
commit
39fb5b8f58
  1. 2
      electrum/util.py

2
electrum/util.py

@ -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…
Cancel
Save