diff options
author | Ian Coleman <coleman.ian@gmail.com> | 2017-08-06 07:58:58 +1000 |
---|---|---|
committer | Ian Coleman <coleman.ian@gmail.com> | 2017-08-07 18:54:12 +1000 |
commit | daab55dc613a1eef22463356eba1a742cb814cb2 (patch) | |
tree | 508caa1ac338c71b9fa9b22c3e6385c036aeda85 /src | |
parent | 7b742f87d3b17fa73e8fcdfda19bc8d08405f7cc (diff) | |
download | BIP39-daab55dc613a1eef22463356eba1a742cb814cb2.tar.gz BIP39-daab55dc613a1eef22463356eba1a742cb814cb2.tar.zst BIP39-daab55dc613a1eef22463356eba1a742cb814cb2.zip |
Add BCH - Bitcoin Cash network
Diffstat (limited to 'src')
-rw-r--r-- | src/js/index.js | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/js/index.js b/src/js/index.js index a12e442..b1876cb 100644 --- a/src/js/index.js +++ b/src/js/index.js | |||
@@ -1167,6 +1167,14 @@ | |||
1167 | 1167 | ||
1168 | var networks = [ | 1168 | var networks = [ |
1169 | { | 1169 | { |
1170 | name: "BCH - Bitcoin Cash", | ||
1171 | bip49available: false, | ||
1172 | onSelect: function() { | ||
1173 | network = bitcoinjs.bitcoin.networks.bitcoin; | ||
1174 | setHdCoin(145); | ||
1175 | }, | ||
1176 | }, | ||
1177 | { | ||
1170 | name: "BTC - Bitcoin", | 1178 | name: "BTC - Bitcoin", |
1171 | bip49available: true, | 1179 | bip49available: true, |
1172 | onSelect: function() { | 1180 | onSelect: function() { |