From c324df024a18a37014f2bb9b403900db26919038 Mon Sep 17 00:00:00 2001 From: Sam Date: Wed, 13 Mar 2024 18:04:09 +0200 Subject: [PATCH] Remove job when status stuck --- src/services/txHistory/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/services/txHistory/index.ts b/src/services/txHistory/index.ts index b8d4cd1..f9c1167 100644 --- a/src/services/txHistory/index.ts +++ b/src/services/txHistory/index.ts @@ -91,7 +91,7 @@ export const getAccountTxHistoryWithQueue = async (props: GetAccountTransactions await jobByAddress.remove() actualData = true - } else if (jobState === 'failed') { + } else if (jobState === 'failed' || jobState === 'stuck') { await jobByAddress.remove() actualData = false