aboutsummaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
authorDan Finlay <dan@danfinlay.com>2017-02-24 03:18:49 +0800
committerDan Finlay <dan@danfinlay.com>2017-02-24 03:18:49 +0800
commit7ec25526b70473247a69ab4a3a1302e50b06f12b (patch)
tree34902786924b1ca9440caec0b6c5f4c255d594dd /app
parent564f920ae0a1be1aa08905f1b4cf6d081e9a5a0b (diff)
downloadtangerine-wallet-browser-7ec25526b70473247a69ab4a3a1302e50b06f12b.tar
tangerine-wallet-browser-7ec25526b70473247a69ab4a3a1302e50b06f12b.tar.gz
tangerine-wallet-browser-7ec25526b70473247a69ab4a3a1302e50b06f12b.tar.bz2
tangerine-wallet-browser-7ec25526b70473247a69ab4a3a1302e50b06f12b.tar.lz
tangerine-wallet-browser-7ec25526b70473247a69ab4a3a1302e50b06f12b.tar.xz
tangerine-wallet-browser-7ec25526b70473247a69ab4a3a1302e50b06f12b.tar.zst
tangerine-wallet-browser-7ec25526b70473247a69ab4a3a1302e50b06f12b.zip
Add alternate UI for pending personal_sign messages
Diffstat (limited to 'app')
-rw-r--r--app/scripts/lib/message-manager.js3
-rw-r--r--app/scripts/lib/personal-message-manager.js1
2 files changed, 3 insertions, 1 deletions
diff --git a/app/scripts/lib/message-manager.js b/app/scripts/lib/message-manager.js
index ceaf8ee2f..711d5f159 100644
--- a/app/scripts/lib/message-manager.js
+++ b/app/scripts/lib/message-manager.js
@@ -33,6 +33,7 @@ module.exports = class MessageManager extends EventEmitter{
msgParams: msgParams,
time: time,
status: 'unapproved',
+ type: 'eth_sign',
}
this.addMsg(msgData)
@@ -115,4 +116,4 @@ function normalizeMsgData(data) {
// data is unicode, convert to hex
return ethUtil.bufferToHex(new Buffer(data, 'utf8'))
}
-} \ No newline at end of file
+}
diff --git a/app/scripts/lib/personal-message-manager.js b/app/scripts/lib/personal-message-manager.js
index 72dd1da96..65ad9200a 100644
--- a/app/scripts/lib/personal-message-manager.js
+++ b/app/scripts/lib/personal-message-manager.js
@@ -33,6 +33,7 @@ module.exports = class MessageManager extends EventEmitter{
msgParams: msgParams,
time: time,
status: 'unapproved',
+ type: 'personal_sign',
}
this.addMsg(msgData)