cosmetic: linting
This commit is contained in:
1 parent
2d83fcc398
commit
e3ef5433cf
13 files changed
+48
-53
No files matched your search
@@ -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)
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user