summaryrefslogtreecommitdiff
path: root/dht/examples
diff options
context:
space:
mode:
authorJoe Crayne <joe@jerkface.net>2020-01-15 20:15:57 -0500
committerJoe Crayne <joe@jerkface.net>2020-01-16 00:15:27 -0500
commit14de512e24922a9fc2c97ecea30011380ed2fad5 (patch)
treed9974383e2473ad5d0cefe09912e1aca4bcabe3c /dht/examples
parent32a9be9211583f8405e92ecc1158f035141820be (diff)
Reverted c3866287: we want to use DHT-key, not the toxid.
Diffstat (limited to 'dht/examples')
-rw-r--r--dht/examples/dhtd.hs6
1 files changed, 1 insertions, 5 deletions
diff --git a/dht/examples/dhtd.hs b/dht/examples/dhtd.hs
index 5bf9296e..f4d04761 100644
--- a/dht/examples/dhtd.hs
+++ b/dht/examples/dhtd.hs
@@ -1589,11 +1589,7 @@ initTox runio opts ssvar keysdb mbxmpp invc = case porttox opts of
1589 -- 1589 --
1590 -- > a +dhtkey KWoEx1XQHrluIoW.3nK6BFb6XCebKWr3nDDt3V7CcoJ 1590 -- > a +dhtkey KWoEx1XQHrluIoW.3nK6BFb6XCebKWr3nDDt3V7CcoJ
1591 , ("dhtkey", DHTAnnouncable { announceSendData = Left ("toxid", readEither, \me them addr -> do 1591 , ("dhtkey", DHTAnnouncable { announceSendData = Left ("toxid", readEither, \me them addr -> do
1592 -- let mthem = Just ( TCP.tcpClient 1592 dkey <- Tox.getContactInfo tox
1593 -- $ tcpKademliaClient
1594 -- $ toxOnionRoutes tox
1595 -- , them )
1596 dkey <- Tox.getContactInfo Nothing tox
1597 sendMessage 1593 sendMessage
1598 (Tox.toxToRoute tox) 1594 (Tox.toxToRoute tox)
1599 (Tox.AnnouncedRendezvous them addr) 1595 (Tox.AnnouncedRendezvous them addr)