Address easy golint comments

This commit is contained in:
Justin Li
2014-08-01 16:16:38 -04:00
parent a55219963b
commit d610b4ebb0
4 changed files with 13 additions and 13 deletions
+2 -2
View File
@@ -61,9 +61,9 @@ type PeerKey string
func NewPeerKey(peerID string, ipv6 bool) PeerKey {
if ipv6 {
return PeerKey("6:" + peerID)
} else {
return PeerKey("4:" + peerID)
}
return PeerKey("4:" + peerID)
}
// PeerMap is a map from PeerKeys to Peers.