From 65eae1828559d8f93b86b4dae06fa39765b9c997 Mon Sep 17 00:00:00 2001 From: Dave Collins Date: Wed, 24 Jul 2013 00:34:38 -0500 Subject: [PATCH] Remove a couple of incorrect comments. --- common_test.go | 1 - msggetheaders_test.go | 1 - msgnotfound_test.go | 1 - 3 files changed, 3 deletions(-) diff --git a/common_test.go b/common_test.go index 5235a5c8..8a191c34 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 1a1210db..3afd7619 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 48741094..9dc50866 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.