1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-21 17:37:01 +01:00

Remove unused unlockAccountMessage callback (#6905)

This callback has been unused for a long time. It was removed in #1076
This commit is contained in:
Mark Stacey 2019-07-24 23:40:22 -03:00 committed by GitHub
parent 754f98aea2
commit 429030a00e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 0 additions and 3 deletions

View File

@ -253,7 +253,6 @@ function setupController (initState, initLangCode) {
const controller = new MetamaskController({
// User confirmation callbacks:
showUnconfirmedMessage: triggerUi,
unlockAccountMessage: triggerUi,
showUnapprovedTx: triggerUi,
openPopup: openPopup,
closePopup: notificationManager.closePopup.bind(notificationManager),

View File

@ -63,7 +63,6 @@ function updateQueryParams (newView) {
const controller = new MetamaskController({
// User confirmation callbacks:
showUnconfirmedMessage: noop,
unlockAccountMessage: noop,
showUnapprovedTx: noop,
platform: {},
// initial state

View File

@ -99,7 +99,6 @@ In that file, there's a lot going on, so it's maybe worth focusing on our MetaMa
const controller = new MetamaskController({
// User confirmation callbacks:
showUnconfirmedMessage: triggerUi,
unlockAccountMessage: triggerUi,
showUnapprovedTx: triggerUi,
// initial state
initState,