diff options
author | Dan Finlay <dan@danfinlay.com> | 2017-02-24 06:23:45 +0800 |
---|---|---|
committer | Dan Finlay <dan@danfinlay.com> | 2017-02-24 06:23:45 +0800 |
commit | 4697aca02c669b1787e72f0648b3043270867799 (patch) | |
tree | ecc07db1ce05ec6a88612a0fa7d1c86007ef6389 /app/scripts/lib | |
parent | 7ec25526b70473247a69ab4a3a1302e50b06f12b (diff) | |
download | tangerine-wallet-browser-4697aca02c669b1787e72f0648b3043270867799.tar tangerine-wallet-browser-4697aca02c669b1787e72f0648b3043270867799.tar.gz tangerine-wallet-browser-4697aca02c669b1787e72f0648b3043270867799.tar.bz2 tangerine-wallet-browser-4697aca02c669b1787e72f0648b3043270867799.tar.lz tangerine-wallet-browser-4697aca02c669b1787e72f0648b3043270867799.tar.xz tangerine-wallet-browser-4697aca02c669b1787e72f0648b3043270867799.tar.zst tangerine-wallet-browser-4697aca02c669b1787e72f0648b3043270867799.zip |
Got personal_sign working
Also fixed bug where signing would not close popup.
Diffstat (limited to 'app/scripts/lib')
-rw-r--r-- | app/scripts/lib/personal-message-manager.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/scripts/lib/personal-message-manager.js b/app/scripts/lib/personal-message-manager.js index 65ad9200a..3b8510767 100644 --- a/app/scripts/lib/personal-message-manager.js +++ b/app/scripts/lib/personal-message-manager.js @@ -4,7 +4,7 @@ const ethUtil = require('ethereumjs-util') const createId = require('./random-id') -module.exports = class MessageManager extends EventEmitter{ +module.exports = class PersonalMessageManager extends EventEmitter{ constructor (opts) { super() this.memStore = new ObservableStore({ @@ -82,7 +82,7 @@ module.exports = class MessageManager extends EventEmitter{ _setMsgStatus (msgId, status) { const msg = this.getMsg(msgId) - if (!msg) throw new Error('MessageManager - Message not found for id: "${msgId}".') + if (!msg) throw new Error('PersonalMessageManager - Message not found for id: "${msgId}".') msg.status = status this._updateMsg(msg) this.emit(`${msgId}:${status}`, msg) |