Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
p2p
go-p2p-pubsub
Commits
8f3471cd
Commit
8f3471cd
authored
Mar 28, 2020
by
vyzo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
correctly attribute invalid message deliveries due to self origin rejection
parent
97519bf7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
score.go
score.go
+2
-0
No files found.
score.go
View file @
8f3471cd
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment