commit 39fb5b8f581742c9909646ae3e78db968a0c9ee1
parent 6d5b28a9c5228e49ab173c7e034196ae12293b84
Author: ThomasV <thomasv@electrum.org>
Date: Wed, 7 Nov 2018 12:38:29 +0100
use blockstream.info as default block explorer
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/electrum/util.py b/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_