aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/js/index.js9
-rw-r--r--tests/spec/tests.js7
2 files changed, 16 insertions, 0 deletions
diff --git a/src/js/index.js b/src/js/index.js
index 92772f6..62bab81 100644
--- a/src/js/index.js
+++ b/src/js/index.js
@@ -1838,6 +1838,7 @@
1838 || (name == "ELLA - Ellaism") 1838 || (name == "ELLA - Ellaism")
1839 || (name == "ESN - Ethersocial Network") 1839 || (name == "ESN - Ethersocial Network")
1840 || (name == "VET - VeChain") 1840 || (name == "VET - VeChain")
1841 || (name == "ERE - EtherCore")
1841 } 1842 }
1842 1843
1843 function networkHasSegwit() { 1844 function networkHasSegwit() {
@@ -2418,6 +2419,14 @@
2418 }, 2419 },
2419 }, 2420 },
2420 { 2421 {
2422 name: "ERE - EtherCore",
2423 segwitAvailable: false,
2424 onSelect: function() {
2425 network = libs.bitcoin.networks.bitcoin;
2426 setHdCoin(466);
2427 },
2428 },
2429 {
2421 name: "ESN - Ethersocial Network", 2430 name: "ESN - Ethersocial Network",
2422 segwitAvailable: false, 2431 segwitAvailable: false,
2423 onSelect: function() { 2432 onSelect: function() {
diff --git a/tests/spec/tests.js b/tests/spec/tests.js
index 0e85ecc..62647d2 100644
--- a/tests/spec/tests.js
+++ b/tests/spec/tests.js
@@ -1635,6 +1635,13 @@ it('Allows selection of Thought', function(done) {
1635 }; 1635 };
1636 testNetwork(done, params); 1636 testNetwork(done, params);
1637}); 1637});
1638it('Allows selection of EtherCore', function(done) {
1639 var params = {
1640 selectText: "ERE - EtherCore",
1641 firstAddress: "0xDeeAD0297F06dfe6c7Ad0C1D0CF5B06D6047bEEe",
1642 };
1643 testNetwork(done, params);
1644});
1638 1645
1639// BIP39 seed is set from phrase 1646// BIP39 seed is set from phrase
1640it('Sets the bip39 seed from the prhase', function(done) { 1647it('Sets the bip39 seed from the prhase', function(done) {