mirror of
https://github.com/OneKeyHQ/bip39.git
synced 2026-04-28 05:10:41 +00:00
update root key network
This commit is contained in:
@@ -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) {
|
||||
|
||||
+1
-1
@@ -207,7 +207,7 @@
|
||||
}
|
||||
|
||||
function calcBip32RootKeyFromBase58(rootKeyBase58) {
|
||||
bip32RootKey = bitcoin.HDNode.fromBase58(rootKeyBase58);
|
||||
bip32RootKey = bitcoin.HDNode.fromBase58(rootKeyBase58, network);
|
||||
}
|
||||
|
||||
function calcBip32ExtendedKey(path) {
|
||||
|
||||
Reference in New Issue
Block a user