Skip to content

Commit

Permalink
chore: remove block
Browse files Browse the repository at this point in the history
  • Loading branch information
npty committed Jun 12, 2024
1 parent 7399a0d commit 1ebb135
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/libs/TransactionRecoveryApi/AxelarRecoveryApi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

Expand Down

0 comments on commit 1ebb135

Please sign in to comment.