From 3821c0d34596dbbf7ff1ba9ce02b54ca4e0d9fda Mon Sep 17 00:00:00 2001 From: dangershony Date: Wed, 24 Aug 2016 15:29:17 +0100 Subject: [PATCH] update root key network --- bip39-standalone.html | 2 +- src/js/index.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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) { -- 2.41.0