diff options
Diffstat (limited to 'src/Data/Torrent/Piece.hs')
-rw-r--r-- | src/Data/Torrent/Piece.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Data/Torrent/Piece.hs b/src/Data/Torrent/Piece.hs index 96624729..27bc4879 100644 --- a/src/Data/Torrent/Piece.hs +++ b/src/Data/Torrent/Piece.hs | |||
@@ -85,7 +85,7 @@ maxPieceSize = 4 * 1024 * 1024 | |||
85 | {-# INLINE maxPieceSize #-} | 85 | {-# INLINE maxPieceSize #-} |
86 | 86 | ||
87 | minPieceSize :: Int | 87 | minPieceSize :: Int |
88 | minPieceSize = unBlockSize def * 4 | 88 | minPieceSize = defaultTransferSize * 4 |
89 | {-# INLINE minPieceSize #-} | 89 | {-# INLINE minPieceSize #-} |
90 | 90 | ||
91 | -- | NOTE: Have max and min size constrained to wide used | 91 | -- | NOTE: Have max and min size constrained to wide used |