From 274f6c3c499483b199bd90e456343b6c31d3fd50 Mon Sep 17 00:00:00 2001 From: Goktug Poyraz Date: Mon, 16 Oct 2023 12:02:05 +0200 Subject: [PATCH] fix test --- app/scripts/metamask-controller.js | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/app/scripts/metamask-controller.js b/app/scripts/metamask-controller.js index 9d0514f638bd..6df40e89606f 100644 --- a/app/scripts/metamask-controller.js +++ b/app/scripts/metamask-controller.js @@ -2753,9 +2753,11 @@ export default class MetamaskController extends EventEmitter { addTransaction: this.addTransaction.bind(this), addTransactionAndWaitForPublish: this.addTransactionAndWaitForPublish.bind(this), - createTransactionEventFragment: createTransactionEventFragmentWithTxId( - this.getTxTrackingEventDependencyMap(), - ), + createTransactionEventFragment: + createTransactionEventFragmentWithTxId.bind( + null, + this.getTransactionMetricsRequest(), + ), getTransactions: txController.getTransactions.bind(txController), updateEditableParams: