aboutsummaryrefslogtreecommitdiffstats
path: root/app/scripts
diff options
context:
space:
mode:
authorDan Finlay <dan@danfinlay.com>2017-02-23 08:23:13 +0800
committerDan Finlay <dan@danfinlay.com>2017-02-23 08:30:09 +0800
commit564f920ae0a1be1aa08905f1b4cf6d081e9a5a0b (patch)
tree990ef92dfffa47160100553857c1d4da95e33162 /app/scripts
parent8684fc40c78cb5293d85f751cf3927c14067d343 (diff)
downloadtangerine-wallet-browser-564f920ae0a1be1aa08905f1b4cf6d081e9a5a0b.tar
tangerine-wallet-browser-564f920ae0a1be1aa08905f1b4cf6d081e9a5a0b.tar.gz
tangerine-wallet-browser-564f920ae0a1be1aa08905f1b4cf6d081e9a5a0b.tar.bz2
tangerine-wallet-browser-564f920ae0a1be1aa08905f1b4cf6d081e9a5a0b.tar.lz
tangerine-wallet-browser-564f920ae0a1be1aa08905f1b4cf6d081e9a5a0b.tar.xz
tangerine-wallet-browser-564f920ae0a1be1aa08905f1b4cf6d081e9a5a0b.tar.zst
tangerine-wallet-browser-564f920ae0a1be1aa08905f1b4cf6d081e9a5a0b.zip
Add personal sign actions and template
Diffstat (limited to 'app/scripts')
-rw-r--r--app/scripts/metamask-controller.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/app/scripts/metamask-controller.js b/app/scripts/metamask-controller.js
index d58d1c22d..b109918cf 100644
--- a/app/scripts/metamask-controller.js
+++ b/app/scripts/metamask-controller.js
@@ -241,6 +241,7 @@ module.exports = class MetamaskController extends EventEmitter {
const preferencesController = this.preferencesController
const txManager = this.txManager
const messageManager = this.messageManager
+ const personalMessageManager = this.personalMessageManager
const noticeController = this.noticeController
return {
@@ -285,6 +286,10 @@ module.exports = class MetamaskController extends EventEmitter {
signMessage: this.signMessage.bind(this),
cancelMessage: messageManager.rejectMsg.bind(messageManager),
+ // personalMessageManager
+ signPersonalMessage: this.signPersonalMessage.bind(this),
+ cancelPersonalMessage: personalMessageManager.rejectMsg.bind(personalMessageManager),
+
// notices
checkNotices: noticeController.updateNoticesList.bind(noticeController),
markNoticeRead: noticeController.markNoticeRead.bind(noticeController),