Run gofmt on wire directory.

This commit is contained in:
Dave Collins 2015-02-05 13:07:51 -06:00
parent cf6fc57f27
commit 116736ee73
2 changed files with 5 additions and 6 deletions

View file

@ -146,11 +146,11 @@ func TestFilterLoadWireErrors(t *testing.T) {
tests := []struct { tests := []struct {
in *wire.MsgFilterLoad // Value to encode in *wire.MsgFilterLoad // Value to encode
buf []byte // Wire encoding buf []byte // Wire encoding
pver uint32 // Protocol version for wire encoding pver uint32 // Protocol version for wire encoding
max int // Max size of fixed buffer to induce errors max int // Max size of fixed buffer to induce errors
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 filter size. // Force error in filter size.

View file

@ -20,7 +20,6 @@ const MaxUserAgentLen = 2000
// DefaultUserAgent for wire in the stack // DefaultUserAgent for wire in the stack
const DefaultUserAgent = "/btcwire:0.2.0/" const DefaultUserAgent = "/btcwire:0.2.0/"
// MsgVersion implements the Message interface and represents a bitcoin version // 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 // 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 // connection is made. The remote peer then uses this information along with