@ -287,7 +287,9 @@ export default class MetamaskController extends EventEmitter {
) ,
) ,
provider : this . provider ,
provider : this . provider ,
blockTracker : this . blockTracker ,
blockTracker : this . blockTracker ,
trackMetaMetricsEvent : this . metaMetricsController . trackEvent ,
trackMetaMetricsEvent : this . metaMetricsController . trackEvent . bind (
this . metaMetricsController ,
) ,
getParticipateInMetrics : ( ) =>
getParticipateInMetrics : ( ) =>
this . metaMetricsController . state . participateInMetaMetrics ,
this . metaMetricsController . state . participateInMetaMetrics ,
} )
} )
@ -1969,7 +1971,9 @@ export default class MetamaskController extends EventEmitter {
engine . push (
engine . push (
createMethodMiddleware ( {
createMethodMiddleware ( {
origin ,
origin ,
sendMetrics : this . metaMetricsController . trackEvent ,
sendMetrics : this . metaMetricsController . trackEvent . bind (
this . metaMetricsController ,
) ,
handleWatchAssetRequest : this . preferencesController . requestWatchAsset . bind (
handleWatchAssetRequest : this . preferencesController . requestWatchAsset . bind (
this . preferencesController ,
this . preferencesController ,
) ,
) ,