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:
parent
754f98aea2
commit
429030a00e
@ -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),
|
||||
|
@ -63,7 +63,6 @@ function updateQueryParams (newView) {
|
||||
const controller = new MetamaskController({
|
||||
// User confirmation callbacks:
|
||||
showUnconfirmedMessage: noop,
|
||||
unlockAccountMessage: noop,
|
||||
showUnapprovedTx: noop,
|
||||
platform: {},
|
||||
// initial state
|
||||
|
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user