mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
Add version to unapprovedMessage
This commit is contained in:
parent
95b92a1ddc
commit
8c0e5e97e5
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user