From 6576a28edfcf0ddc6ea89f071c6edcb48907031d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Albert=20Oliv=C3=A9?= Date: Fri, 25 Aug 2023 12:38:50 +0200 Subject: [PATCH] Added missing bindings (#20602) --- app/scripts/metamask-controller.js | 19 +++++++++++++------ 1 file changed, 13 insertions(+), 6 deletions(-) diff --git a/app/scripts/metamask-controller.js b/app/scripts/metamask-controller.js index 10ec8b1ab..8a7b1fff5 100644 --- a/app/scripts/metamask-controller.js +++ b/app/scripts/metamask-controller.js @@ -4186,14 +4186,21 @@ export default class MetamaskController extends EventEmitter { this.institutionalFeaturesController, ), handleMmiCheckIfTokenIsPresent: - this.mmiController.handleMmiCheckIfTokenIsPresent.bind(this), - handleMmiDashboardData: - this.mmiController.handleMmiDashboardData.bind(this), - handleMmiOpenSwaps: this.mmiController.handleMmiOpenSwaps.bind(this), + this.mmiController.handleMmiCheckIfTokenIsPresent.bind( + this.mmiController, + ), + handleMmiDashboardData: this.mmiController.handleMmiDashboardData.bind( + this.mmiController, + ), + handleMmiOpenSwaps: this.mmiController.handleMmiOpenSwaps.bind( + this.mmiController, + ), handleMmiSetAccountAndNetwork: - this.mmiController.setAccountAndNetwork.bind(this), + this.mmiController.setAccountAndNetwork.bind(this.mmiController), handleMmiOpenAddHardwareWallet: - this.mmiController.handleMmiOpenAddHardwareWallet.bind(this), + this.mmiController.handleMmiOpenAddHardwareWallet.bind( + this.mmiController, + ), ///: END:ONLY_INCLUDE_IN }), );