mirror of
https://github.com/OneKeyHQ/bip39.git
synced 2026-04-05 18:43:47 +00:00
Merge pull request #486 from secinthenet/fix-seed-only-coin-switch
fix "blank mnemonic" error when only using a BIP39 seed (no mnemonic phrase) and then changing the coin
This commit is contained in:
@@ -209,12 +209,7 @@
|
|||||||
var network = networks[networkIndex];
|
var network = networks[networkIndex];
|
||||||
network.onSelect();
|
network.onSelect();
|
||||||
adjustNetworkForSegwit();
|
adjustNetworkForSegwit();
|
||||||
if (seed != null) {
|
rootKeyChanged();
|
||||||
phraseChanged();
|
|
||||||
}
|
|
||||||
else {
|
|
||||||
rootKeyChanged();
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
function bip32ClientChanged(e) {
|
function bip32ClientChanged(e) {
|
||||||
|
|||||||
Reference in New Issue
Block a user