diff --git a/floodsub_test.go b/floodsub_test.go index 3dfe701..585e166 100644 --- a/floodsub_test.go +++ b/floodsub_test.go @@ -994,7 +994,8 @@ func TestImproperlySignedMessageRejected(t *testing.T) { t.Fatal(err) } - // Change the sign key for the adversarial peer, and send the second message. + // Change the sign key for the adversarial peer, and send the second, + // incorrectly signed, message. adversaryPubSub.signID = honestPubSub.signID adversaryPubSub.signKey = honestPubSub.host.Peerstore().PrivKey(honestPubSub.signID) err = adversaryPubSub.Publish(topic, incorrectMessage)