mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-22 18:00:18 +01:00
094e4cf555
* eslint: Check for unused function arguments * eslint: Ignore unused '_' in argument list Also allow any number of '_' e.g., '__' or '___' which is to be used sparingly * Remove and rename unused arguments
27 lines
604 B
JavaScript
27 lines
604 B
JavaScript
module.exports = {
|
|
'confirm sig requests': {
|
|
signMessage: (_, cb) => {
|
|
const stateUpdate = {
|
|
unapprovedMsgs: {},
|
|
unapprovedMsgCount: 0,
|
|
}
|
|
return cb(null, stateUpdate)
|
|
},
|
|
signPersonalMessage: (_, cb) => {
|
|
const stateUpdate = {
|
|
unapprovedPersonalMsgs: {},
|
|
unapprovedPersonalMsgCount: 0,
|
|
}
|
|
return cb(null, stateUpdate)
|
|
},
|
|
signTypedMessage: (_, cb) => {
|
|
const stateUpdate = {
|
|
unapprovedTypedMessages: {},
|
|
unapprovedTypedMessagesCount: 0,
|
|
}
|
|
return cb(null, stateUpdate)
|
|
},
|
|
},
|
|
}
|
|
|