diff --git a/common_test.go b/common_test.go index 5235a5c8c..8a191c348 100644 --- a/common_test.go +++ b/common_test.go @@ -111,7 +111,6 @@ func TestVarIntWireErrors(t *testing.T) { writeErr error // Expected write error readErr error // Expected read error }{ - // Latest protocol version with intentional read/write errors. // Force errors on discriminant. {0, []byte{0x00}, pver, 0, io.ErrShortWrite, io.EOF}, // Force errors on 2-byte read/write. diff --git a/msggetheaders_test.go b/msggetheaders_test.go index 1a1210db3..3afd76194 100644 --- a/msggetheaders_test.go +++ b/msggetheaders_test.go @@ -311,7 +311,6 @@ func TestGetHeadersWireErrors(t *testing.T) { } maxGetHeaders.BlockLocatorHashes = append(maxGetHeaders.BlockLocatorHashes, &btcwire.GenesisHash) - //maxGetHeaders.InvList = append(maxGetData.InvList, iv) maxGetHeadersEncoded := []byte{ 0x62, 0xea, 0x00, 0x00, // Protocol version 60002 0xfd, 0xf5, 0x01, // Varint for number of block loc hashes (501) diff --git a/msgnotfound_test.go b/msgnotfound_test.go index 48741094e..9dc508662 100644 --- a/msgnotfound_test.go +++ b/msgnotfound_test.go @@ -268,7 +268,6 @@ func TestNotFoundWireErrors(t *testing.T) { writeErr error // Expected write error readErr error // Expected read error }{ - // Latest protocol version with intentional read/write errors. // Force error in inventory vector count {baseNotFound, baseNotFoundEncoded, pver, 0, io.ErrShortWrite, io.EOF}, // Force error in inventory list.