remove nonce update for the re-send case
This commit is contained in:
parent
4efda98f2b
commit
7af04fa0e8
@ -194,8 +194,10 @@ async function main({ msg, ackMsg, nackMsg, channel, scheduleForRetry, scheduleT
|
||||
}
|
||||
})
|
||||
|
||||
logger.debug('Updating nonce')
|
||||
await updateNonce(nonce)
|
||||
if (typeof nonce === 'number') {
|
||||
logger.debug('Updating nonce')
|
||||
await updateNonce(nonce)
|
||||
}
|
||||
|
||||
if (failedTx.length) {
|
||||
logger.info(`Sending ${failedTx.length} Failed Tx to Queue`)
|
||||
|
Loading…
Reference in New Issue
Block a user