Browse Source

Merge pull request #918 from mrfelton/feat/blockstream-explorer

feat(wallet): use blockstream.info block explorer
renovate/lint-staged-8.x
JimmyMow 6 years ago
committed by GitHub
parent
commit
a267d2c21c
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  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