From cf3951c9dfcc42387b165ae76e0a2abaece06b6c Mon Sep 17 00:00:00 2001 From: Dan Finlay Date: Thu, 22 Dec 2016 13:40:12 -0800 Subject: [PATCH] Remove logs --- app/scripts/metamask-controller.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/scripts/metamask-controller.js b/app/scripts/metamask-controller.js index 2dac61a04..8b7713df4 100644 --- a/app/scripts/metamask-controller.js +++ b/app/scripts/metamask-controller.js @@ -90,8 +90,8 @@ module.exports = class MetamaskController { submitPassword: (password, cb) => { this.migrateOldVaultIfAny(password) .then(keyringController.submitPassword.bind(keyringController)) - .then((newState) => { console.log('succeeded submitting!'); cb(null, newState) }) - .catch((reason) => { console.error(reason); cb(reason) }) + .then((newState) => { cb(null, newState) }) + .catch((reason) => { cb(reason) }) }, addNewKeyring: nodeify(keyringController.addNewKeyring).bind(keyringController), addNewAccount: nodeify(keyringController.addNewAccount).bind(keyringController),