diff options
author | Thomas <thomas.b.huang@gmail.com> | 2018-10-25 11:24:42 +0800 |
---|---|---|
committer | Thomas <thomas.b.huang@gmail.com> | 2018-10-25 11:24:42 +0800 |
commit | 8c0e5e97e5ee50122e4ff120e1076e71394be378 (patch) | |
tree | 89414494901bb27df45097d3633eced4e719bce1 /app/scripts | |
parent | 95b92a1ddcaf478fe612f46c94c8e0600826cfd6 (diff) | |
download | tangerine-wallet-browser-8c0e5e97e5ee50122e4ff120e1076e71394be378.tar tangerine-wallet-browser-8c0e5e97e5ee50122e4ff120e1076e71394be378.tar.gz tangerine-wallet-browser-8c0e5e97e5ee50122e4ff120e1076e71394be378.tar.bz2 tangerine-wallet-browser-8c0e5e97e5ee50122e4ff120e1076e71394be378.tar.lz tangerine-wallet-browser-8c0e5e97e5ee50122e4ff120e1076e71394be378.tar.xz tangerine-wallet-browser-8c0e5e97e5ee50122e4ff120e1076e71394be378.tar.zst tangerine-wallet-browser-8c0e5e97e5ee50122e4ff120e1076e71394be378.zip |
Add version to unapprovedMessage
Diffstat (limited to 'app/scripts')
-rw-r--r-- | app/scripts/metamask-controller.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/scripts/metamask-controller.js b/app/scripts/metamask-controller.js index 5a182d3f0..bbff95618 100644 --- a/app/scripts/metamask-controller.js +++ b/app/scripts/metamask-controller.js @@ -980,8 +980,8 @@ module.exports = class MetamaskController extends EventEmitter { * @param {Object} msgParams - The params passed to eth_signTypedData. * @param {Function} cb - The callback function, called with the signature. */ - newUnsignedTypedMessage (msgParams, req) { - const promise = this.typedMessageManager.addUnapprovedMessageAsync(msgParams, req) + newUnsignedTypedMessage (msgParams, req, version) { + const promise = this.typedMessageManager.addUnapprovedMessageAsync(msgParams, req, version) this.sendUpdate() this.opts.showUnconfirmedMessage() return promise |