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