aboutsummaryrefslogtreecommitdiffstats
path: root/app/scripts/metamask-controller.js
diff options
context:
space:
mode:
authorDan Finlay <dan@danfinlay.com>2016-08-25 07:59:22 +0800
committerDan Finlay <dan@danfinlay.com>2016-08-25 07:59:22 +0800
commit793ad6b8d8c5edec96553f3048595deff94d6f05 (patch)
tree47b0721cb4d434fe164029807c71142aade633f8 /app/scripts/metamask-controller.js
parent4e34796983e399c05f18c3bd1355e2eea83ad891 (diff)
parent4448b635b9246103b59fecc617bcee806d66712c (diff)
downloadtangerine-wallet-browser-793ad6b8d8c5edec96553f3048595deff94d6f05.tar
tangerine-wallet-browser-793ad6b8d8c5edec96553f3048595deff94d6f05.tar.gz
tangerine-wallet-browser-793ad6b8d8c5edec96553f3048595deff94d6f05.tar.bz2
tangerine-wallet-browser-793ad6b8d8c5edec96553f3048595deff94d6f05.tar.lz
tangerine-wallet-browser-793ad6b8d8c5edec96553f3048595deff94d6f05.tar.xz
tangerine-wallet-browser-793ad6b8d8c5edec96553f3048595deff94d6f05.tar.zst
tangerine-wallet-browser-793ad6b8d8c5edec96553f3048595deff94d6f05.zip
Merge branch 'master' into PopupNotifications
Diffstat (limited to 'app/scripts/metamask-controller.js')
-rw-r--r--app/scripts/metamask-controller.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/scripts/metamask-controller.js b/app/scripts/metamask-controller.js
index 81b232730..e94db2dfd 100644
--- a/app/scripts/metamask-controller.js
+++ b/app/scripts/metamask-controller.js
@@ -219,6 +219,7 @@ module.exports = class MetamaskController {
newUnsignedMessage (msgParams, cb) {
var state = this.idStore.getState()
if (!state.isUnlocked) {
+ this.idStore.addUnconfirmedMessage(msgParams, cb)
this.opts.unlockAccountMessage()
} else {
this.addUnconfirmedMessage(msgParams, cb)