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
|
|||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
|
if (typeof nonce === 'number') {
|
||||||
logger.debug('Updating nonce')
|
logger.debug('Updating nonce')
|
||||||
await updateNonce(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