]> git.immae.eu Git - perso/Immae/Projets/Cryptomonnaies/BIP39.git/commitdiff
Remove Monkey network, test was failing.
authorIan Coleman <ian@iancoleman.io>
Thu, 4 Jul 2019 02:01:59 +0000 (12:01 +1000)
committerIan Coleman <ian@iancoleman.io>
Thu, 4 Jul 2019 02:01:59 +0000 (12:01 +1000)
See https://github.com/iancoleman/bip39/pull/335#issuecomment-500638649

src/js/bitcoinjs-extensions.js
src/js/index.js
tests/spec/tests.js

index bd3e50024f33d2aa59fbc2e0b6bd4ebd88ce8899..24438297fbc9dff88760cad717205d08a507b72d 100644 (file)
@@ -1615,14 +1615,3 @@ bitcoinjs.bitcoin.networks.deeponion = {
     scriptHash: 0x4E,
     wif: 0x9F,
 };
-
-bitcoinjs.bitcoin.networks.monkey = {
-    messagePrefix: 'x18DarkNet Signed Message:\n',
-    bip32: {
-      public: 0x0488B21E,
-      private: 0x0488ADE4,
-    },
-    pubKeyHash: 0x7F,
-    scriptHash: 0xC4,
-    wif: 0x3F,
-};
index 0648cb3c002925297fa814e19af645130a41a85d..9578146ad891b054a3495d8a2583f81737520781 100644 (file)
                 setHdCoin(22);
             },
         },
-        {
-            name: "MONK - Monkey Project",
-            onSelect: function() {
-                network = bitcoinjs.bitcoin.networks.monkey;
-                setHdCoin(214);
-            },
-        },
         {
             name: "MUSIC - Musicoin",
             segwitAvailable: false,
index 528f562eb0989233c42504b9277fe9600819afb5..f69bca628af355fa8648091dbca148d4cf78e381 100644 (file)
@@ -1522,13 +1522,6 @@ it('Allows selection of Ethersocial Network', function(done) {
     };
     testNetwork(done, params);
 });
-it('Allows selection of Monkey Project', function(done) {
-    var params = {
-        selectText: "MONK - Monkey Project",
-        firstAddress: "MnLrcnnUzKnf7TzufjRe5DLZqQJz18oYyu",
-    };
-    testNetwork(done, params);
-});
 it('Allows selection of Stellar', function(done) {
     var params = {
         selectText: "XLM - Stellar",