Browse Source

feat(wallet): use blockstream.info block explorer

Fix #901
renovate/lint-staged-8.x
Tom Kirkpatrick 6 years ago
parent
commit
05a29a6c10
No known key found for this signature in database GPG Key ID: 72203A8EC5967EA8
  1. 4
      app/reducers/info.js
  2. 2
      test/unit/reducers/__snapshots__/info.spec.js.snap

4
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: ''
}

2
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": "",
},

Loading…
Cancel
Save