Run gofmt on wire directory.
This commit is contained in:
parent
cf6fc57f27
commit
116736ee73
2 changed files with 5 additions and 6 deletions
|
@ -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.
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue