1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-26 20:39:08 +01:00

Remove logs

This commit is contained in:
Dan Finlay 2016-12-22 13:40:12 -08:00
parent 0df656850d
commit cf3951c9df

View File

@ -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),