]> git.immae.eu Git - perso/Immae/Projets/Cryptomonnaies/BIP39.git/blobdiff - bip39-standalone.html
Merge pull request #27 from dangershony/master
[perso/Immae/Projets/Cryptomonnaies/BIP39.git] / bip39-standalone.html
index 30fbffec51d9a8d344fe0127a244afa8a179c79d..9b3c4f18f8e78e90ec9a4ba1787d004a0481d6f5 100644 (file)
@@ -13359,7 +13359,7 @@ bitcoin.networks.dash = {
     public: 0x0488b21e,
     private: 0x0488ade4
   },
-  pubKeyHash: 0x4e,
+  pubKeyHash: 0x4c,
   scriptHash: 0x10,
   wif: 0xcc,
 };
@@ -15052,7 +15052,7 @@ var Mnemonic = function(language) {
     }
 
     function calcBip32RootKeyFromBase58(rootKeyBase58) {
-        bip32RootKey = bitcoin.HDNode.fromBase58(rootKeyBase58);
+        bip32RootKey = bitcoin.HDNode.fromBase58(rootKeyBase58, network);
     }
 
     function calcBip32ExtendedKey(path) {