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:
iancoleman
2021-05-07 09:34:41 +10:00
committed by GitHub

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) {