From c52e032eda04dbb81ec858d5c76e489ac0237247 Mon Sep 17 00:00:00 2001 From: Hodor Date: Tue, 19 Sep 2023 18:15:57 +0800 Subject: [PATCH] feat: merge --- src/background/controller/provider/controller.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/background/controller/provider/controller.ts b/src/background/controller/provider/controller.ts index 64645a4a72f..8062dac31cf 100644 --- a/src/background/controller/provider/controller.ts +++ b/src/background/controller/provider/controller.ts @@ -604,6 +604,7 @@ class ProviderController extends BaseController { // errMsg // ); // transactionHistoryService.removeSigningTx(signingTxId!); + notificationService.setStatsData(statsData); throw new Error(errMsg); }; // const onTransactionSubmitted = (hash: string) => { @@ -784,6 +785,7 @@ class ProviderController extends BaseController { onTransactionSubmitFailed(new Error('Submit tx failed')); } else { onTransactionCreated({ hash, reqId, pushType }); + notificationService.setStatsData(statsData); } }