Remove a couple of incorrect comments.
This commit is contained in:
parent
d54fba85b4
commit
65eae18285
3 changed files with 0 additions and 3 deletions
|
@ -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.
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue