diff --git a/wire/msgfilterload_test.go b/wire/msgfilterload_test.go index a6306491..ca3575c6 100644 --- a/wire/msgfilterload_test.go +++ b/wire/msgfilterload_test.go @@ -146,11 +146,11 @@ func TestFilterLoadWireErrors(t *testing.T) { tests := []struct { in *wire.MsgFilterLoad // Value to encode - buf []byte // Wire encoding - pver uint32 // Protocol version for wire encoding - max int // Max size of fixed buffer to induce errors - writeErr error // Expected write error - readErr error // Expected read error + buf []byte // Wire encoding + pver uint32 // Protocol version for wire encoding + max int // Max size of fixed buffer to induce errors + writeErr error // Expected write error + readErr error // Expected read error }{ // Latest protocol version with intentional read/write errors. // Force error in filter size. diff --git a/wire/msgversion.go b/wire/msgversion.go index f62f42c6..0f94395b 100644 --- a/wire/msgversion.go +++ b/wire/msgversion.go @@ -20,7 +20,6 @@ const MaxUserAgentLen = 2000 // DefaultUserAgent for wire in the stack const DefaultUserAgent = "/btcwire:0.2.0/" - // MsgVersion implements the Message interface and represents a bitcoin version // message. It is used for a peer to advertise itself as soon as an outbound // connection is made. The remote peer then uses this information along with