correctly attribute invalid message deliveries due to self origin rejection

This commit is contained in:
vyzo 2020-03-28 12:52:20 +02:00
parent 97519bf76c
commit 8f3471cdfd
1 changed files with 2 additions and 0 deletions

View File

@ -510,6 +510,8 @@ func (ps *peerScore) RejectMessage(msg *Message, reason string) {
case rejectMissingSignature:
fallthrough
case rejectInvalidSignature:
fallthrough
case rejectSelfOrigin:
ps.markInvalidMessageDelivery(msg.ReceivedFrom, msg)
return