Fix edge case

License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
This commit is contained in:
Jakub Sztandera 2019-12-10 14:45:15 +01:00
parent c37ec227e9
commit 43bc25d04a
No known key found for this signature in database
GPG Key ID: 9A9AF56F8B3879BA

View File

@ -212,6 +212,9 @@ func (mp *MessagePool) repubLocal() {
curNonce := a.Nonce
for _, m := range msgs {
if m.Message.Nonce < curNonce {
continue
}
if m.Message.Nonce != curNonce {
break
}