Skip to content

Commit

Permalink
reduce log length
Browse files Browse the repository at this point in the history
  • Loading branch information
arcoraven committed Dec 8, 2024
1 parent 73c0d65 commit 131d148
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/worker/tasks/mineTransactionWorker.ts
Original file line number Diff line number Diff line change
Expand Up @@ -162,8 +162,9 @@ const _mineTransaction = async (
}

// Else the transaction is not mined yet.
const ellapsedMs = Date.now() - sentTransaction.queuedAt.getTime();
job.log(
`Transaction is not mined yet. Check again later. sentTransactionHashes=${sentTransaction.sentTransactionHashes}`,
`Transaction is not mined yet. Check again later. elapsed=${ellapsedMs / 1000}s`,
);

// Resend the transaction (after some initial delay).
Expand Down

0 comments on commit 131d148

Please sign in to comment.