Fix edge case
License: MIT Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
This commit is contained in:
parent
c37ec227e9
commit
43bc25d04a
@ -212,6 +212,9 @@ func (mp *MessagePool) repubLocal() {
|
|||||||
|
|
||||||
curNonce := a.Nonce
|
curNonce := a.Nonce
|
||||||
for _, m := range msgs {
|
for _, m := range msgs {
|
||||||
|
if m.Message.Nonce < curNonce {
|
||||||
|
continue
|
||||||
|
}
|
||||||
if m.Message.Nonce != curNonce {
|
if m.Message.Nonce != curNonce {
|
||||||
break
|
break
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user