mirror of
https://github.com/sot-tech/mochi.git
synced 2026-07-20 15:08:13 -07:00
(untested) add pg storage tests
This commit is contained in:
+1
-1
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user