From 2f79781ab9fbdde018fc921da9be0b3411ed8cad Mon Sep 17 00:00:00 2001 From: kumavis Date: Thu, 26 Jan 2017 20:17:36 -0800 Subject: metamask controller - adopt clearSeedWords from keyring controller --- app/scripts/keyring-controller.js | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'app/scripts/keyring-controller.js') diff --git a/app/scripts/keyring-controller.js b/app/scripts/keyring-controller.js index 0a1965782..61840af4c 100644 --- a/app/scripts/keyring-controller.js +++ b/app/scripts/keyring-controller.js @@ -154,17 +154,6 @@ module.exports = class KeyringController extends EventEmitter { .then(this.fullUpdate.bind(this)) } - // ClearSeedWordCache - // - // returns Promise( @string currentSelectedAccount ) - // - // Removes the current vault's seed words from the UI's state tree, - // ensuring they are only ever available in the background process. - clearSeedWordCache () { - this.configManager.setSeedWords(null) - return Promise.resolve(this.configManager.getSelectedAccount()) - } - // Set Locked // returns Promise( @object state ) // -- cgit v1.2.3