diff options
Diffstat (limited to 'examples')
-rw-r--r-- | examples/dhtd.hs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/examples/dhtd.hs b/examples/dhtd.hs index e285d2d2..324146c1 100644 --- a/examples/dhtd.hs +++ b/examples/dhtd.hs | |||
@@ -689,12 +689,12 @@ main = do | |||
689 | . Tox.GetNodes) | 689 | . Tox.GetNodes) |
690 | show -- NodeInfo | 690 | show -- NodeInfo |
691 | (const Nothing)) | 691 | (const Nothing)) |
692 | , ("toxid", DHTQuery (Tox.toxidSearch (Tox.onionTimeout tox) $ Tox.toxOnion tox) | 692 | , ("toxid", DHTQuery (Tox.toxidSearch (Tox.onionTimeout tox) |
693 | (Tox.toxCryptoKeys tox) | ||
694 | (Tox.toxOnion tox)) | ||
693 | -- qhandler :: ni -> nid -> IO ([ni], [r], tok) | 695 | -- qhandler :: ni -> nid -> IO ([ni], [r], tok) |
694 | (\ni nid -> | 696 | (\ni nid -> |
695 | -- _todo :: IO Tox.AnnounceResponse | 697 | Tox.unwrapAnnounceResponse Nothing |
696 | -- -> IO ([Tox.NodeInfo], [Crypto.PubKey.Curve25519.PublicKey], b0) | ||
697 | Tox.unwrapAnnounceResponse | ||
698 | <$> clientAddress (Tox.toxDHT tox) Nothing | 698 | <$> clientAddress (Tox.toxDHT tox) Nothing |
699 | <*> Tox.announceH (Tox.toxRouting tox) | 699 | <*> Tox.announceH (Tox.toxRouting tox) |
700 | (Tox.toxTokens tox) | 700 | (Tox.toxTokens tox) |