diff options
-rw-r--r-- | src/js/index.js | 9 | ||||
-rw-r--r-- | tests/spec/tests.js | 7 |
2 files changed, 16 insertions, 0 deletions
diff --git a/src/js/index.js b/src/js/index.js index 67dde1c..8dd553d 100644 --- a/src/js/index.js +++ b/src/js/index.js | |||
@@ -919,6 +919,7 @@ | |||
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 == "ELLA - Ellaism") | ||
922 | || (networks[DOM.network.val()].name == "ESN - Ethersocial Network") | 923 | || (networks[DOM.network.val()].name == "ESN - Ethersocial Network") |
923 | ) { | 924 | ) { |
924 | var privKeyBuffer = keyPair.d.toBuffer(32); | 925 | var privKeyBuffer = keyPair.d.toBuffer(32); |
@@ -1980,6 +1981,14 @@ | |||
1980 | }, | 1981 | }, |
1981 | }, | 1982 | }, |
1982 | { | 1983 | { |
1984 | name: "ELLA - Ellaism", | ||
1985 | segwitAvailable: false, | ||
1986 | onSelect: function() { | ||
1987 | network = bitcoinjs.bitcoin.networks.bitcoin; | ||
1988 | setHdCoin(163); | ||
1989 | }, | ||
1990 | }, | ||
1991 | { | ||
1983 | name: "EMC2 - Einsteinium", | 1992 | name: "EMC2 - Einsteinium", |
1984 | onSelect: function() { | 1993 | onSelect: function() { |
1985 | network = bitcoinjs.bitcoin.networks.einsteinium; | 1994 | network = bitcoinjs.bitcoin.networks.einsteinium; |
diff --git a/tests/spec/tests.js b/tests/spec/tests.js index 83fc949..88c91a3 100644 --- a/tests/spec/tests.js +++ b/tests/spec/tests.js | |||
@@ -1434,6 +1434,13 @@ it('Allows selection of DEXON', function(done) { | |||
1434 | }; | 1434 | }; |
1435 | testNetwork(done, params); | 1435 | testNetwork(done, params); |
1436 | }); | 1436 | }); |
1437 | it('Allows selection of Ellaism', function(done) { | ||
1438 | var params = { | ||
1439 | selectText: "ELLA - Ellaism", | ||
1440 | firstAddress: "0xa8B0BeA09eeBc41062308546a01d6E544277e2Ca", | ||
1441 | }; | ||
1442 | testNetwork(done, params); | ||
1443 | }); | ||
1437 | it('Allows selection of Ethersocial Network', function(done) { | 1444 | it('Allows selection of Ethersocial Network', function(done) { |
1438 | var params = { | 1445 | var params = { |
1439 | selectText: "ESN - Ethersocial Network", | 1446 | selectText: "ESN - Ethersocial Network", |