From 87ab5874abad6721054494c0eedbc755ad3dcdd8 Mon Sep 17 00:00:00 2001 From: Adam Majmudar Date: Sun, 3 Dec 2023 18:45:45 -0800 Subject: [PATCH] Add logs for nonce --- src/worker/tasks/processTx.ts | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/src/worker/tasks/processTx.ts b/src/worker/tasks/processTx.ts index a0fea43fb..6bfc8164a 100644 --- a/src/worker/tasks/processTx.ts +++ b/src/worker/tasks/processTx.ts @@ -271,15 +271,9 @@ export const processTx = async () => { )) as ethers.providers.TransactionResponse | null; logger.worker.info( - `[Transaction] [${tx.queueId}] Sent transaction with hash ${txHash}`, + `[Transaction] [${tx.queueId}] Sent transaction with hash '${txHash}' and nonce '${tx.nonce}'`, ); - if (!!txRes) { - logger.worker.debug( - `[Transaction] [${tx.queueId}] Using nonce ${txRes.nonce}`, - ); - } - return { transactionHash: txHash, status: TransactionStatusEnum.Submitted,