wtwire: remove incorrect function comment

The harness doesn't return anything, so don't say that it does.
This commit is contained in:
Matt Morehouse 2024-11-13 15:41:26 -06:00
parent e2f7eb963f
commit 567ff5d751
No known key found for this signature in database
GPG Key ID: CC8ECA224831C982

View File

@ -21,8 +21,7 @@ func prefixWithMsgType(data []byte, prefix MessageType) []byte {
// wireMsgHarness performs the actual fuzz testing of the appropriate wire // wireMsgHarness performs the actual fuzz testing of the appropriate wire
// message. This function will check that the passed-in message passes wire // message. This function will check that the passed-in message passes wire
// length checks, is a valid message once deserialized, and passes a sequence of // length checks, is a valid message once deserialized, and passes a sequence of
// serialization and deserialization checks. Returns an int that determines // serialization and deserialization checks.
// whether the input is unique or not.
func wireMsgHarness(t *testing.T, data []byte, emptyMsg Message) { func wireMsgHarness(t *testing.T, data []byte, emptyMsg Message) {
t.Helper() t.Helper()