diff --git a/bip39-standalone.html b/bip39-standalone.html
index 41dcb99..9b3c4f1 100644
--- a/bip39-standalone.html
+++ b/bip39-standalone.html
@@ -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) {
diff --git a/src/js/index.js b/src/js/index.js
index 0599321..5cd09b6 100644
--- a/src/js/index.js
+++ b/src/js/index.js
@@ -207,7 +207,7 @@
}
function calcBip32RootKeyFromBase58(rootKeyBase58) {
- bip32RootKey = bitcoin.HDNode.fromBase58(rootKeyBase58);
+ bip32RootKey = bitcoin.HDNode.fromBase58(rootKeyBase58, network);
}
function calcBip32ExtendedKey(path) {