aboutsummaryrefslogtreecommitdiffstats
path: root/app/scripts
diff options
context:
space:
mode:
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),