aboutsummaryrefslogtreecommitdiffstats
path: root/app/scripts/keyring-controller.js
diff options
context:
space:
mode:
authorKevin Serrano <kevgagser@gmail.com>2016-12-20 06:55:52 +0800
committerKevin Serrano <kevgagser@gmail.com>2016-12-20 06:55:52 +0800
commite9bea92ac3243e58321cd8cf3f44f0df0c66aa70 (patch)
tree5443e05f633d339e3f9a96ab5bd364918173d4d2 /app/scripts/keyring-controller.js
parent20c043a4c280891b3b1322a06887e6515a8d94fa (diff)
downloadtangerine-wallet-browser-e9bea92ac3243e58321cd8cf3f44f0df0c66aa70.tar
tangerine-wallet-browser-e9bea92ac3243e58321cd8cf3f44f0df0c66aa70.tar.gz
tangerine-wallet-browser-e9bea92ac3243e58321cd8cf3f44f0df0c66aa70.tar.bz2
tangerine-wallet-browser-e9bea92ac3243e58321cd8cf3f44f0df0c66aa70.tar.lz
tangerine-wallet-browser-e9bea92ac3243e58321cd8cf3f44f0df0c66aa70.tar.xz
tangerine-wallet-browser-e9bea92ac3243e58321cd8cf3f44f0df0c66aa70.tar.zst
tangerine-wallet-browser-e9bea92ac3243e58321cd8cf3f44f0df0c66aa70.zip
Lint.
Diffstat (limited to 'app/scripts/keyring-controller.js')
-rw-r--r--app/scripts/keyring-controller.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/app/scripts/keyring-controller.js b/app/scripts/keyring-controller.js
index 40c9695dd..ca4c306be 100644
--- a/app/scripts/keyring-controller.js
+++ b/app/scripts/keyring-controller.js
@@ -73,7 +73,7 @@ module.exports = class KeyringController extends EventEmitter {
// or accept a state-resolving promise to consume their results.
//
// Not all methods end with this, that might be a nice refactor.
- fullUpdate() {
+ fullUpdate () {
this.emit('update')
return Promise.resolve(this.getState())
}
@@ -586,7 +586,6 @@ module.exports = class KeyringController extends EventEmitter {
// Attempts to sign the provided @object msgParams.
signMessage (msgParams, cb) {
try {
-
const msgId = msgParams.metamaskId
delete msgParams.metamaskId
const approvalCb = this._unconfMsgCbs[msgId] || noop