summaryrefslogtreecommitdiff
path: root/src/Network/BitTorrent/Core/Node.hs
diff options
context:
space:
mode:
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