mirror of
https://github.com/OneKeyHQ/bip39.git
synced 2026-04-24 19:30:41 +00:00
Clear old seed when mnemonic is changed
This commit is contained in:
@@ -175,6 +175,10 @@
|
||||
|
||||
function delayedPhraseChanged() {
|
||||
hideValidationError();
|
||||
seed = null;
|
||||
bip32RootKey = null;
|
||||
bip32ExtendedKey = null;
|
||||
clearAddressesList();
|
||||
showPending();
|
||||
if (phraseChangeTimeoutEvent != null) {
|
||||
clearTimeout(phraseChangeTimeoutEvent);
|
||||
|
||||
Reference in New Issue
Block a user