aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/js/index.js10
1 files changed, 9 insertions, 1 deletions
diff --git a/src/js/index.js b/src/js/index.js
index 9e955ae..bc15559 100644
--- a/src/js/index.js
+++ b/src/js/index.js
@@ -917,7 +917,8 @@
917 || (networks[DOM.network.val()].name == "MUSIC - Musicoin") 917 || (networks[DOM.network.val()].name == "MUSIC - Musicoin")
918 || (networks[DOM.network.val()].name == "POA - Poa") 918 || (networks[DOM.network.val()].name == "POA - Poa")
919 || (networks[DOM.network.val()].name == "EXP - Expanse") 919 || (networks[DOM.network.val()].name == "EXP - Expanse")
920 || (networks[DOM.network.val()].name == "CLO - Callisto")) { 920 || (networks[DOM.network.val()].name == "CLO - Callisto")
921 || (networks[DOM.network.val()].name == "DXN - DEXON")) {
921 var privKeyBuffer = keyPair.d.toBuffer(32); 922 var privKeyBuffer = keyPair.d.toBuffer(32);
922 privkey = privKeyBuffer.toString('hex'); 923 privkey = privKeyBuffer.toString('hex');
923 var addressBuffer = ethUtil.privateToAddress(privKeyBuffer); 924 var addressBuffer = ethUtil.privateToAddress(privKeyBuffer);
@@ -1921,6 +1922,13 @@
1921 }, 1922 },
1922 }, 1923 },
1923 { 1924 {
1925 name: "DXN - DEXON",
1926 onSelect: function() {
1927 network = bitcoinjs.bitcoin.networks.bitcoin;
1928 setHdCoin(237);
1929 },
1930 },
1931 {
1924 name: "ECN - Ecoin", 1932 name: "ECN - Ecoin",
1925 onSelect: function() { 1933 onSelect: function() {
1926 network = bitcoinjs.bitcoin.networks.ecoin; 1934 network = bitcoinjs.bitcoin.networks.ecoin;