]> git.immae.eu Git - perso/Immae/Projets/Cryptomonnaies/BIP39.git/commitdiff
Add EWT
authorGarrett MacDonald <1791145+garrettian@users.noreply.github.com>
Wed, 24 Apr 2019 15:17:05 +0000 (17:17 +0200)
committerGitHub <noreply@github.com>
Wed, 24 Apr 2019 15:17:05 +0000 (17:17 +0200)
src/js/index.js

index 8262947a64aa82a967566e6549370dcbef5a83c8..ff5ef1e7717d0f2c81a86b146d14a07cb3a9d30b 100644 (file)
                 // Ethereum values are different
                 if ((networks[DOM.network.val()].name == "ETH - Ethereum")
                     || (networks[DOM.network.val()].name == "ETC - Ethereum Classic")
+                    || (networks[DOM.network.val()].name == "EWT - EnergyWeb")
                     || (networks[DOM.network.val()].name == "PIRL - Pirl")
                     || (networks[DOM.network.val()].name == "MIX - MIX")
                     || (networks[DOM.network.val()].name == "MUSIC - Musicoin")
                 network = bitcoinjs.bitcoin.networks.bitcoin;
                 setHdCoin(60);
             },
-        },
+          },
+        {
+            name: "EWT - EnergyWeb",
+            onSelect: function() {
+                network = bitcoinjs.bitcoin.networks.bitcoin;
+                setHdCoin(246);
+            },
+          },
         {
             name: "EXCL - Exclusivecoin",
             onSelect: function() {