]> git.immae.eu Git - perso/Immae/Projets/Cryptomonnaies/BIP39.git/commitdiff
update root key network
authordangershony <dan.gershony@gmail.com>
Wed, 24 Aug 2016 14:29:17 +0000 (15:29 +0100)
committerdangershony <dan.gershony@gmail.com>
Wed, 24 Aug 2016 14:29:17 +0000 (15:29 +0100)
bip39-standalone.html
src/js/index.js

index 41dcb99eef97b5f5f0aa2ace690a5ec9a2b3f798..9b3c4f18f8e78e90ec9a4ba1787d004a0481d6f5 100644 (file)
@@ -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) {
index 059932141899270237be2cdf681ddaf9bcc56c4e..5cd09b6ec2113b48739246d439877d685e2bb46d 100644 (file)
     }
 
     function calcBip32RootKeyFromBase58(rootKeyBase58) {
-        bip32RootKey = bitcoin.HDNode.fromBase58(rootKeyBase58);
+        bip32RootKey = bitcoin.HDNode.fromBase58(rootKeyBase58, network);
     }
 
     function calcBip32ExtendedKey(path) {