summaryrefslogtreecommitdiff
path: root/src/Network/BitTorrent/Core/Node.hs
diff options
context:
space:
mode:
authorSam Truzjan <pxqr.sta@gmail.com>2013-12-20 20:29:29 +0400
committerSam Truzjan <pxqr.sta@gmail.com>2013-12-20 20:29:29 +0400
commit17be47e8f10907ff1479a83595ef5fb920b6acbd (patch)
treec49e58bf07cd845dcbbae35bc6c06e0b97cc8a1d /src/Network/BitTorrent/Core/Node.hs
parentf061e4aff630e6f4793b962f99c42e70c337c46f (diff)
Bump bencoding dependency
Diffstat (limited to 'src/Network/BitTorrent/Core/Node.hs')
-rw-r--r--src/Network/BitTorrent/Core/Node.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Network/BitTorrent/Core/Node.hs b/src/Network/BitTorrent/Core/Node.hs
index c629df08..a1a87135 100644
--- a/src/Network/BitTorrent/Core/Node.hs
+++ b/src/Network/BitTorrent/Core/Node.hs
@@ -37,7 +37,7 @@ import Network.BitTorrent.Core.PeerAddr ()
37-- | Normally, /this/ node id should we saved between invocations of 37-- | Normally, /this/ node id should we saved between invocations of
38-- the client software. 38-- the client software.
39newtype NodeId = NodeId ByteString 39newtype NodeId = NodeId ByteString
40 deriving (Show, Eq, Ord, FromJSON, ToJSON) 40 deriving (Show, Eq, Ord, BEncode, FromJSON, ToJSON)
41 41
42nodeIdSize :: Int 42nodeIdSize :: Int
43nodeIdSize = 20 43nodeIdSize = 20