Skip to content

Commit e6f034c

Browse files
AgeManningmxinden
andauthored
protocols/gossipsub: Remove outdated warning (#2496)
Co-authored-by: Max Inden <[email protected]>
1 parent 4eb3d15 commit e6f034c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

protocols/gossipsub/src/peer_score.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -644,9 +644,9 @@ impl PeerScore {
644644
.entry(msg_id.clone())
645645
.or_insert_with(DeliveryRecord::default);
646646

647-
// this should be the first delivery trace
647+
// Multiple peers can now reject the same message as we track which peers send us the
648+
// message. If we have already updated the status, return.
648649
if record.status != DeliveryStatus::Unknown {
649-
warn!("Unexpected delivery trace: Message from {} was first seen {}s ago and has a delivery status {:?}", from, record.first_seen.elapsed().as_secs(), record.status);
650650
return;
651651
}
652652

0 commit comments

Comments
 (0)