mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
clean up
This commit is contained in:
parent
d65d018ad0
commit
bea1cf3f3c
@ -200,4 +200,3 @@ function redirectToPhishingWarning () {
|
|||||||
console.log('MetaMask - redirecting to phishing warning')
|
console.log('MetaMask - redirecting to phishing warning')
|
||||||
window.location.href = 'https://metamask.io/phishing.html'
|
window.location.href = 'https://metamask.io/phishing.html'
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -96,4 +96,3 @@ function restoreContextAfterImports () {
|
|||||||
console.warn('MetaMask - global.define could not be overwritten.')
|
console.warn('MetaMask - global.define could not be overwritten.')
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -655,6 +655,7 @@ module.exports = class MetamaskController extends EventEmitter {
|
|||||||
return { ...keyState, identities }
|
return { ...keyState, identities }
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
//
|
//
|
||||||
// Account Management
|
// Account Management
|
||||||
//
|
//
|
||||||
|
@ -194,4 +194,3 @@ function getTotalUnapprovedCount ({ metamask }) {
|
|||||||
return Object.keys(unapprovedTxs).length + unapprovedMsgCount + unapprovedPersonalMsgCount +
|
return Object.keys(unapprovedTxs).length + unapprovedMsgCount + unapprovedPersonalMsgCount +
|
||||||
unapprovedTypedMessagesCount
|
unapprovedTypedMessagesCount
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user