diff options
author | Sam Truzjan <pxqr.sta@gmail.com> | 2013-12-20 20:29:29 +0400 |
---|---|---|
committer | Sam Truzjan <pxqr.sta@gmail.com> | 2013-12-20 20:29:29 +0400 |
commit | 17be47e8f10907ff1479a83595ef5fb920b6acbd (patch) | |
tree | c49e58bf07cd845dcbbae35bc6c06e0b97cc8a1d /src/Network/BitTorrent/Core/Node.hs | |
parent | f061e4aff630e6f4793b962f99c42e70c337c46f (diff) |
Bump bencoding dependency
Diffstat (limited to 'src/Network/BitTorrent/Core/Node.hs')
-rw-r--r-- | src/Network/BitTorrent/Core/Node.hs | 2 |
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. |
39 | newtype NodeId = NodeId ByteString | 39 | newtype NodeId = NodeId ByteString |
40 | deriving (Show, Eq, Ord, FromJSON, ToJSON) | 40 | deriving (Show, Eq, Ord, BEncode, FromJSON, ToJSON) |
41 | 41 | ||
42 | nodeIdSize :: Int | 42 | nodeIdSize :: Int |
43 | nodeIdSize = 20 | 43 | nodeIdSize = 20 |