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
+1 -6
View File
@@ -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) {