summaryrefslogtreecommitdiff
path: root/src/Data/Torrent.hs
diff options
context:
space:
mode:
Diffstat (limited to 'src/Data/Torrent.hs')
-rw-r--r--src/Data/Torrent.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Data/Torrent.hs b/src/Data/Torrent.hs
index 59f11814..8411dc97 100644
--- a/src/Data/Torrent.hs
+++ b/src/Data/Torrent.hs
@@ -142,7 +142,7 @@ infoDictionary :: LayoutInfo -> PieceInfo -> Bool -> InfoDict
142infoDictionary li pinfo private = InfoDict ih li pinfo private 142infoDictionary li pinfo private = InfoDict ih li pinfo private
143 where 143 where
144 ih = IH.hashlazy $ encode $ InfoDict fake_ih li pinfo private 144 ih = IH.hashlazy $ encode $ InfoDict fake_ih li pinfo private
145 fake_ih = InfoHash "" 145 fake_ih = "0123456789012345678901234567890123456789"
146 146
147getPrivate :: Get Bool 147getPrivate :: Get Bool
148getPrivate = (Just True ==) <$>? "private" 148getPrivate = (Just True ==) <$>? "private"