Skip to content

Commit

Permalink
Add missed log (#149)
Browse files Browse the repository at this point in the history
  • Loading branch information
Leonid Tyurin authored and akolotov committed Jan 20, 2023
1 parent 43aa836 commit e7bf186
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions zp-relayer/workers/sentTxWorker.ts
Original file line number Diff line number Diff line change
Expand Up @@ -252,6 +252,10 @@ export async function createSentTxWorker<T extends EstimationType>(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
Expand Down

0 comments on commit e7bf186

Please sign in to comment.