diff options
Diffstat (limited to 'examples/dhtd.hs')
-rw-r--r-- | examples/dhtd.hs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/examples/dhtd.hs b/examples/dhtd.hs index 6dbc1120..52ff3c98 100644 --- a/examples/dhtd.hs +++ b/examples/dhtd.hs | |||
@@ -229,7 +229,8 @@ instance Kademlia Tox.Message where | |||
229 | nameFindNodes _ = Tox.GetNodes | 229 | nameFindNodes _ = Tox.GetNodes |
230 | initializeDHTData = return ToxData | 230 | initializeDHTData = return ToxData |
231 | 231 | ||
232 | instance Pretty (NodeId Tox.Message) where | 232 | instance Pretty (NodeId Tox.Message) where pPrint (Tox.NodeId nid) = encodeHexDoc nid |
233 | |||
233 | instance Pretty (NodeInfo Tox.Message IPv4 ()) where | 234 | instance Pretty (NodeInfo Tox.Message IPv4 ()) where |
234 | instance Pretty (NodeInfo Tox.Message IPv4 Bool) where -- TODO | 235 | instance Pretty (NodeInfo Tox.Message IPv4 Bool) where -- TODO |
235 | instance Read (NodeId KMessageOf) where | 236 | instance Read (NodeId KMessageOf) where |