From 05a29a6c10e03bd5e0047d454cdb0bf259cb1bbc Mon Sep 17 00:00:00 2001 From: Tom Kirkpatrick Date: Tue, 27 Nov 2018 10:55:36 +0100 Subject: [PATCH] feat(wallet): use blockstream.info block explorer Fix #901 --- app/reducers/info.js | 4 ++-- test/unit/reducers/__snapshots__/info.spec.js.snap | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app/reducers/info.js b/app/reducers/info.js index c63a8deb..58afb779 100644 --- a/app/reducers/info.js +++ b/app/reducers/info.js @@ -52,13 +52,13 @@ export const receiveInfo = (event, data) => async (dispatch, getState) => { const networks = { testnet: { name: 'Testnet', - explorerUrl: 'https://testnet.smartbit.com.au', + explorerUrl: 'https://blockstream.info/testnet', bitcoinJsNetwork: bitcoin.networks.testnet, unitPrefix: 't' }, mainnet: { name: 'Mainnet', - explorerUrl: 'https://smartbit.com.au', + explorerUrl: 'https://blockstream.info', bitcoinJsNetwork: bitcoin.networks.bitcoin, unitPrefix: '' } diff --git a/test/unit/reducers/__snapshots__/info.spec.js.snap b/test/unit/reducers/__snapshots__/info.spec.js.snap index 2758e89c..66cc55c5 100644 --- a/test/unit/reducers/__snapshots__/info.spec.js.snap +++ b/test/unit/reducers/__snapshots__/info.spec.js.snap @@ -29,7 +29,7 @@ Object { "scriptHash": 5, "wif": 128, }, - "explorerUrl": "https://smartbit.com.au", + "explorerUrl": "https://blockstream.info", "name": "Mainnet", "unitPrefix": "", },