From 684c5855cdeca0180b266c261d9cd7dd0dc3697f Mon Sep 17 00:00:00 2001 From: Mark Stacey Date: Wed, 24 Feb 2021 01:01:09 -0330 Subject: [PATCH] Remove unused TransactionController option (#10508) The function `getNetwork` was being passed into the TransactionController constructor, but no such option was used in the controller itself. --- app/scripts/metamask-controller.js | 1 - 1 file changed, 1 deletion(-) diff --git a/app/scripts/metamask-controller.js b/app/scripts/metamask-controller.js index a9ebc71f7..535f0cdc7 100644 --- a/app/scripts/metamask-controller.js +++ b/app/scripts/metamask-controller.js @@ -293,7 +293,6 @@ export default class MetamaskController extends EventEmitter { ), preferencesStore: this.preferencesController.store, txHistoryLimit: 40, - getNetwork: this.networkController.getNetworkState.bind(this), signTransaction: this.keyringController.signTransaction.bind( this.keyringController, ),