summaryrefslogtreecommitdiff
path: root/src/Network/Tox
diff options
context:
space:
mode:
Diffstat (limited to 'src/Network/Tox')
-rw-r--r--src/Network/Tox/NodeId.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Network/Tox/NodeId.hs b/src/Network/Tox/NodeId.hs
index 00b572f2..2ad17616 100644
--- a/src/Network/Tox/NodeId.hs
+++ b/src/Network/Tox/NodeId.hs
@@ -147,7 +147,7 @@ instance S.Serialize NodeId where
147 put nid = putPublicKey $ id2key nid 147 put nid = putPublicKey $ id2key nid
148 148
149instance Hashable NodeId where 149instance Hashable NodeId where
150 hashWithSalt salt (NodeId key) = salt `xor` fromIntegral (byteSwap64 $ head key) 150 hashWithSalt salt (NodeId key) = hashWithSalt salt (head key)
151 151
152-- instance FiniteBits NodeId where finiteBitSize _ = 256 152-- instance FiniteBits NodeId where finiteBitSize _ = 256
153 153