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

fix: add metrics event to sign controller (#18318)

Co-authored-by: legobeat <109787230+legobeat@users.noreply.github.com>
This commit is contained in:
OGPoyraz 2023-04-17 11:21:33 +02:00 committed by GitHub
parent b50b9be502
commit 867d637f06
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1166,6 +1166,9 @@ export default class MetamaskController extends EventEmitter {
preferencesController: this.preferencesController,
getState: this.getState.bind(this),
securityProviderRequest: this.securityProviderRequest.bind(this),
metricsEvent: this.metaMetricsController.trackEvent.bind(
this.metaMetricsController,
),
});
this.swapsController = new SwapsController({