aboutsummaryrefslogtreecommitdiffstats
path: root/app/scripts
diff options
context:
space:
mode:
authorDan Finlay <dan@danfinlay.com>2017-02-25 09:07:54 +0800
committerDan Finlay <dan@danfinlay.com>2017-02-25 09:07:54 +0800
commit8c66260bdb903185aaf55944a04b850af2dd64b6 (patch)
treec3f77c3d2282ef0c85329bc3de1338ea66412946 /app/scripts
parent1077c79e259b97b7458547580fb882034e438a89 (diff)
downloadtangerine-wallet-browser-8c66260bdb903185aaf55944a04b850af2dd64b6.tar
tangerine-wallet-browser-8c66260bdb903185aaf55944a04b850af2dd64b6.tar.gz
tangerine-wallet-browser-8c66260bdb903185aaf55944a04b850af2dd64b6.tar.bz2
tangerine-wallet-browser-8c66260bdb903185aaf55944a04b850af2dd64b6.tar.lz
tangerine-wallet-browser-8c66260bdb903185aaf55944a04b850af2dd64b6.tar.xz
tangerine-wallet-browser-8c66260bdb903185aaf55944a04b850af2dd64b6.tar.zst
tangerine-wallet-browser-8c66260bdb903185aaf55944a04b850af2dd64b6.zip
Removed redundant personal_recover logic
Diffstat (limited to 'app/scripts')
-rw-r--r--app/scripts/keyring-controller.js11
-rw-r--r--app/scripts/metamask-controller.js7
2 files changed, 0 insertions, 18 deletions
diff --git a/app/scripts/keyring-controller.js b/app/scripts/keyring-controller.js
index f2891db37..e1b1c4335 100644
--- a/app/scripts/keyring-controller.js
+++ b/app/scripts/keyring-controller.js
@@ -278,17 +278,6 @@ class KeyringController extends EventEmitter {
})
}
- // Recover Personal Message
- // @object msgParams
- //
- // returns Promise(@buffer signer)
- //
- // recovers a signature of the prefixed-style personalMessage signature.
- recoverPersonalMessage (msgParams) {
- const address = sigUtil.recoverPersonalSignature(msgParams)
- return Promise.resolve(address)
- }
-
// PRIVATE METHODS
//
// THESE METHODS ARE ONLY USED INTERNALLY TO THE KEYRING-CONTROLLER
diff --git a/app/scripts/metamask-controller.js b/app/scripts/metamask-controller.js
index 995db1c0a..f172c67a8 100644
--- a/app/scripts/metamask-controller.js
+++ b/app/scripts/metamask-controller.js
@@ -172,7 +172,6 @@ module.exports = class MetamaskController extends EventEmitter {
// new style msg signing
processPersonalMessage: this.newUnsignedPersonalMessage.bind(this),
- personalRecoverSigner: nodeify(this.recoverPersonalMessage).bind(this),
})
return provider
}
@@ -533,12 +532,6 @@ module.exports = class MetamaskController extends EventEmitter {
}
}
- recoverPersonalMessage (msgParams) {
- log.debug(`MetaMaskController - recoverPersonalMessage: ${JSON.stringify(msgParams)}`)
- const keyringController = this.keyringController
- return keyringController.recoverPersonalMessage(msgParams)
- }
-
markAccountsFound (cb) {
this.configManager.setLostAccounts([])
this.sendUpdate()