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:
parent
2b022cd759
commit
684c5855cd
@ -293,7 +293,6 @@ export default class MetamaskController extends EventEmitter {
|
|||||||
),
|
),
|
||||||
preferencesStore: this.preferencesController.store,
|
preferencesStore: this.preferencesController.store,
|
||||||
txHistoryLimit: 40,
|
txHistoryLimit: 40,
|
||||||
getNetwork: this.networkController.getNetworkState.bind(this),
|
|
||||||
signTransaction: this.keyringController.signTransaction.bind(
|
signTransaction: this.keyringController.signTransaction.bind(
|
||||||
this.keyringController,
|
this.keyringController,
|
||||||
),
|
),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user