We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 143d0bf commit 4e4faaeCopy full SHA for 4e4faae
1 file changed
gossipsub_spam_test.go
@@ -856,7 +856,9 @@ func TestGossipsubAttackSpamIDONTWANT(t *testing.T) {
856
})
857
}
858
// The host should receives this message id because the maximum was reached
859
+ mu.Lock()
860
expMid = mid
861
+ mu.Unlock()
862
863
// Wait for a short interval to make sure the middle peer
864
// received and processed the IDONTWANTs
0 commit comments