From ed6d9d3905aa581f1a76d37d601c6be39954d1ff Mon Sep 17 00:00:00 2001 From: Ian Coleman Date: Wed, 16 Aug 2017 10:43:09 +1000 Subject: Clear old seed when mnemonic is changed --- src/js/index.js | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/js') diff --git a/src/js/index.js b/src/js/index.js index 1f37d38..2e14a40 100644 --- a/src/js/index.js +++ b/src/js/index.js @@ -175,6 +175,10 @@ function delayedPhraseChanged() { hideValidationError(); + seed = null; + bip32RootKey = null; + bip32ExtendedKey = null; + clearAddressesList(); showPending(); if (phraseChangeTimeoutEvent != null) { clearTimeout(phraseChangeTimeoutEvent); -- cgit v1.2.3