Skip to content

Commit

Permalink
refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
fadeev committed Oct 5, 2023
1 parent 55f3f82 commit 75c3900
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions helpers/tx.ts
Original file line number Diff line number Diff line change
Expand Up @@ -157,9 +157,8 @@ export const trackCCTX = async (
pendingNonces = await fetchNonces(API, TSS);
if (Object.keys(cctxs).length === 0) {
if (!json && emitter) {
emitter.emit("search-add", {
text: `Looking for cross-chain transactions (CCTXs) on ZetaChain...\n`,
});
const text = `Looking for cross-chain transactions (CCTXs) on ZetaChain...\n`;
emitter.emit("search-add", { text });
spinners["search"] = true;
}
await fetchCCTXByInbound(hash, emitter, spinners, API, cctxs, json);
Expand Down

0 comments on commit 75c3900

Please sign in to comment.