Fixed incorrect nonce checking inequality
This commit is contained in:
parent
3d8623e05d
commit
d64ec4e24e
|
@ -291,7 +291,7 @@ async function consumer(msg) {
|
|||
}
|
||||
const account = await getAccount(from)
|
||||
|
||||
if (nonce > account.sequence) {
|
||||
if (nonce < account.sequence) {
|
||||
logger.debug('Tx has been already sent')
|
||||
logger.info('Acking message (skipped nonce)')
|
||||
channel.ack(msg)
|
||||
|
|
Loading…
Reference in New Issue