From 1ebb1357f12685af9276be5f67a5ccc5a0997461 Mon Sep 17 00:00:00 2001 From: npty Date: Wed, 12 Jun 2024 15:08:49 +0700 Subject: [PATCH] chore: remove block --- src/libs/TransactionRecoveryApi/AxelarRecoveryApi.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/libs/TransactionRecoveryApi/AxelarRecoveryApi.ts b/src/libs/TransactionRecoveryApi/AxelarRecoveryApi.ts index 4f201035..693a0993 100644 --- a/src/libs/TransactionRecoveryApi/AxelarRecoveryApi.ts +++ b/src/libs/TransactionRecoveryApi/AxelarRecoveryApi.ts @@ -151,13 +151,13 @@ export class AxelarRecoveryApi { txHash, txLogIndex, }) - .then((data) => { - return data.find( + .then((data) => + data.find( (gmpTx: any) => gmpTx.id.toLowerCase().indexOf(txHash.toLowerCase()) > -1 || gmpTx.call.transactionHash.toLowerCase().indexOf(txHash.toLowerCase()) > -1 // the source transaction hash will be stored at "tx.call.transactionHash", if it is sent from cosmos, otherwise it'll be stored at `tx.id` field. - ); - }) + ) + ) .catch(() => undefined); }