diff options
Diffstat (limited to 'src')
-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 |