We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b29c2f6 commit 5f874daCopy full SHA for 5f874da
protocols/gossipsub/src/behaviour.rs
@@ -731,6 +731,9 @@ where
731
self.duplicate_cache.insert(msg_id.clone());
732
self.mcache.put(&msg_id, raw_message.clone());
733
734
+ // Consider the message as delivered for gossip promises.
735
+ self.gossip_promises.message_delivered(&msg_id);
736
+
737
// If the message is anonymous or has a random author add it to the published message ids
738
// cache.
739
if let PublishConfig::RandomAuthor | PublishConfig::Anonymous = self.publish_config {
0 commit comments