1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 09:52:26 +01:00

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.
This commit is contained in:
Mark Stacey 2021-02-24 01:01:09 -03:30 committed by GitHub
parent 2b022cd759
commit 684c5855cd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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,
),