mirror of
https://github.com/btcsuite/btcd.git
synced 2025-02-23 06:35:20 +01:00
Cleanup a few comments.
This commit is contained in:
parent
1f72b40823
commit
e699ca0bef
1 changed files with 4 additions and 4 deletions
|
@ -268,12 +268,12 @@ func TestGetDataWireErrors(t *testing.T) {
|
||||||
writeErr error // Expected write error
|
writeErr error // Expected write error
|
||||||
readErr error // Expected read error
|
readErr error // Expected read error
|
||||||
}{
|
}{
|
||||||
//// Latest protocol version with intentional read/write errors.
|
// Latest protocol version with intentional read/write errors.
|
||||||
//// Force error in inventory vector count
|
// Force error in inventory vector count
|
||||||
{baseGetData, baseGetDataEncoded, pver, 0, io.ErrShortWrite, io.EOF},
|
{baseGetData, baseGetDataEncoded, pver, 0, io.ErrShortWrite, io.EOF},
|
||||||
//// Force error in inventory list.
|
// Force error in inventory list.
|
||||||
{baseGetData, baseGetDataEncoded, pver, 1, io.ErrShortWrite, io.EOF},
|
{baseGetData, baseGetDataEncoded, pver, 1, io.ErrShortWrite, io.EOF},
|
||||||
//// Force error with greater than max inventory vectors.
|
// Force error with greater than max inventory vectors.
|
||||||
{maxGetData, maxGetDataEncoded, pver, 3, btcwireErr, btcwireErr},
|
{maxGetData, maxGetDataEncoded, pver, 3, btcwireErr, btcwireErr},
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue