From 116736ee73c7279990cd23ec6d0fe764b6bc66fc Mon Sep 17 00:00:00 2001 From: Dave Collins Date: Thu, 5 Feb 2015 13:07:51 -0600 Subject: [PATCH] Run gofmt on wire directory. --- wire/msgfilterload_test.go | 10 +++++----- wire/msgversion.go | 1 - 2 files changed, 5 insertions(+), 6 deletions(-) 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