cosmetic: linting

This commit is contained in:
Matthias Radestock committed 2015-03-27 00:43:26 +00:00
1 parent 2d83fcc398
commit e3ef5433cf
13 files changed
+48 -53

No files matched your search

+1 -1
View File
@@ -67,7 +67,7 @@ func checkEqualConns(t *testing.T, ourName PeerName, got, wanted map[PeerName]Co
// Get all the peers from a Peers in a slice
func (peers *Peers) allPeers() []*Peer {
res := make([]*Peer, 0)
var res []*Peer
for _, peer := range peers.table {
res = append(res, peer)
}