summaryrefslogtreecommitdiff
path: root/src/Network/Tox/Onion
diff options
context:
space:
mode:
authorjoe <joe@jerkface.net>2017-11-01 13:57:43 -0400
committerjoe <joe@jerkface.net>2017-11-01 13:57:43 -0400
commit5e9273477eadb124ec984f0363c9e253b907d328 (patch)
treee9adf756a6f042d6a08c9d3e0435bc15233570e9 /src/Network/Tox/Onion
parent9860107226e9e78c8ac82b287b4fb68262ee1c5b (diff)
Fix some announce bugs. Still WIP.
Diffstat (limited to 'src/Network/Tox/Onion')
-rw-r--r--src/Network/Tox/Onion/Handlers.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Network/Tox/Onion/Handlers.hs b/src/Network/Tox/Onion/Handlers.hs
index b06fc2af..e792aa50 100644
--- a/src/Network/Tox/Onion/Handlers.hs
+++ b/src/Network/Tox/Onion/Handlers.hs
@@ -171,7 +171,7 @@ handlers net _ _ keydb _ = Just $ NoReply Right $ dataToRouteH keydb net
171toxidSearch :: (TransactionId -> OnionDestination r -> STM (OnionDestination r, Int)) 171toxidSearch :: (TransactionId -> OnionDestination r -> STM (OnionDestination r, Int))
172 -> TransportCrypto 172 -> TransportCrypto
173 -> Client r 173 -> Client r
174 -> Search NodeId (IP, PortNumber) (Maybe Nonce32) NodeInfo Rendezvous 174 -> Search NodeId (IP, PortNumber) Nonce32 NodeInfo Rendezvous
175toxidSearch getTimeout crypto client = Search 175toxidSearch getTimeout crypto client = Search
176 { searchSpace = toxSpace 176 { searchSpace = toxSpace
177 , searchNodeAddress = nodeIP &&& nodePort 177 , searchNodeAddress = nodeIP &&& nodePort