fix "blank mnemonic" error when only using a BIP39 seed (no mnemonic phrase) and then changing the coin

This commit is contained in:
Sylvia G
2021-04-06 03:55:40 +03:00
parent 23f393acfb
commit 5b5b11fd96
-5
View File
@@ -209,13 +209,8 @@
var network = networks[networkIndex]; var network = networks[networkIndex];
network.onSelect(); network.onSelect();
adjustNetworkForSegwit(); adjustNetworkForSegwit();
if (seed != null) {
phraseChanged();
}
else {
rootKeyChanged(); rootKeyChanged();
} }
}
function bip32ClientChanged(e) { function bip32ClientChanged(e) {
var clientIndex = DOM.bip32Client.val(); var clientIndex = DOM.bip32Client.val();