(untested) add pg storage tests

This commit is contained in:
Lawrence, Rendall
2022-06-18 20:52:40 +03:00
parent 21eaea2b8a
commit 0564dfce4b
6 changed files with 239 additions and 70 deletions
+1 -1
View File
@@ -180,7 +180,7 @@ func (h *responseHook) appendPeers(req *bittorrent.AnnounceRequest, resp *bittor
}
l := len(peers)
uniquePeers := make(map[bittorrent.Peer]interface{}, l)
uniquePeers := make(map[bittorrent.Peer]any, l)
resp.IPv4Peers = make([]bittorrent.Peer, 0, l/2)
resp.IPv6Peers = make([]bittorrent.Peer, 0, l/2)