aboutsummaryrefslogtreecommitdiff
path: root/src/js
diff options
context:
space:
mode:
Diffstat (limited to 'src/js')
-rw-r--r--src/js/index.js12
1 files changed, 11 insertions, 1 deletions
diff --git a/src/js/index.js b/src/js/index.js
index 8262947..67dde1c 100644
--- a/src/js/index.js
+++ b/src/js/index.js
@@ -918,7 +918,9 @@
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 || (networks[DOM.network.val()].name == "DXN - DEXON")
922 || (networks[DOM.network.val()].name == "ESN - Ethersocial Network")
923 ) {
922 var privKeyBuffer = keyPair.d.toBuffer(32); 924 var privKeyBuffer = keyPair.d.toBuffer(32);
923 privkey = privKeyBuffer.toString('hex'); 925 privkey = privKeyBuffer.toString('hex');
924 var addressBuffer = ethUtil.privateToAddress(privKeyBuffer); 926 var addressBuffer = ethUtil.privateToAddress(privKeyBuffer);
@@ -1992,6 +1994,14 @@
1992 }, 1994 },
1993 }, 1995 },
1994 { 1996 {
1997 name: "ESN - Ethersocial Network",
1998 segwitAvailable: false,
1999 onSelect: function() {
2000 network = bitcoinjs.bitcoin.networks.bitcoin;
2001 setHdCoin(31102);
2002 },
2003 },
2004 {
1995 name: "ETC - Ethereum Classic", 2005 name: "ETC - Ethereum Classic",
1996 segwitAvailable: false, 2006 segwitAvailable: false,
1997 onSelect: function() { 2007 onSelect: function() {