summaryrefslogtreecommitdiff
path: root/src/Network/BitTorrent/Core/PeerAddr.hs
diff options
context:
space:
mode:
Diffstat (limited to 'src/Network/BitTorrent/Core/PeerAddr.hs')
-rw-r--r--src/Network/BitTorrent/Core/PeerAddr.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Network/BitTorrent/Core/PeerAddr.hs b/src/Network/BitTorrent/Core/PeerAddr.hs
index bc4a1078..86b88491 100644
--- a/src/Network/BitTorrent/Core/PeerAddr.hs
+++ b/src/Network/BitTorrent/Core/PeerAddr.hs
@@ -254,7 +254,7 @@ peerSockAddr PeerAddr {..} =
254 254
255-- | Storage used to keep track a set of known peers in client, 255-- | Storage used to keep track a set of known peers in client,
256-- tracker or DHT sessions. 256-- tracker or DHT sessions.
257newtype PeerStore a = PeerStore (HashMap InfoHash [PeerAddr a]) 257newtype PeerStore ip = PeerStore (HashMap InfoHash [PeerAddr ip])
258 258
259-- | Empty store. 259-- | Empty store.
260instance Default (PeerStore a) where 260instance Default (PeerStore a) where