linting: apply 'gofmt -s -w' throughout

This commit is contained in:
Zach Ramsay
2017-09-05 16:37:20 -04:00
committed by Ethan Buchman
parent fc33576bac
commit 46ccbcbff6
12 changed files with 22 additions and 21 deletions

View File

@ -78,7 +78,7 @@ func TestPeerSend(t *testing.T) {
func createOutboundPeerAndPerformHandshake(addr *NetAddress, config *PeerConfig) (*peer, error) {
chDescs := []*ChannelDescriptor{
&ChannelDescriptor{ID: 0x01, Priority: 1},
{ID: 0x01, Priority: 1},
}
reactorsByCh := map[byte]Reactor{0x01: NewTestReactor(chDescs, true)}
pk := crypto.GenPrivKeyEd25519()