mirror of
https://github.com/fluencelabs/rust-libp2p
synced 2025-06-27 00:31:35 +00:00
protocols/gossipsub: Remove outdated warning (#2496)
Co-authored-by: Max Inden <mail@max-inden.de>
This commit is contained in:
@ -644,9 +644,9 @@ impl PeerScore {
|
|||||||
.entry(msg_id.clone())
|
.entry(msg_id.clone())
|
||||||
.or_insert_with(DeliveryRecord::default);
|
.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 {
|
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;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user