diff --git a/zp-relayer/workers/sentTxWorker.ts b/zp-relayer/workers/sentTxWorker.ts index 7eb0694..42bd80b 100644 --- a/zp-relayer/workers/sentTxWorker.ts +++ b/zp-relayer/workers/sentTxWorker.ts @@ -252,6 +252,10 @@ export async function createSentTxWorker(gasPrice: Gas if (!tx) { // Resend with updated gas price + if (resendNum > config.sentTxLogErrorThreshold) { + jobLogger.error('Too many unsuccessful re-sends') + } + await handleResend(txConfig, gasPrice, job, jobLogger) // Tx re-send successful