protocols/gossipsub: Remove outdated warning (#2496)

Co-authored-by: Max Inden <mail@max-inden.de>
This commit is contained in:
Age Manning
2022-02-10 02:24:08 +11:00
committed by GitHub
parent 4eb3d15db1
commit e6f034c132

View File

@ -644,9 +644,9 @@ impl PeerScore {
.entry(msg_id.clone())
.or_insert_with(DeliveryRecord::default);
// this should be the first delivery trace
// Multiple peers can now reject the same message as we track which peers send us the
// message. If we have already updated the status, return.
if record.status != DeliveryStatus::Unknown {
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);
return;
}