From 6b822e47e4995e4aaf4cb1cc034c34314bd51da2 Mon Sep 17 00:00:00 2001 From: joe Date: Wed, 20 Sep 2017 20:47:10 -0400 Subject: Added outbound initiation addresses to the Onion transport. --- src/Network/Tox/Transport.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Network/Tox/Transport.hs') diff --git a/src/Network/Tox/Transport.hs b/src/Network/Tox/Transport.hs index 24bd60b7..d99b6713 100644 --- a/src/Network/Tox/Transport.hs +++ b/src/Network/Tox/Transport.hs @@ -21,7 +21,7 @@ toxTransport :: -> (PublicKey -> IO (Maybe NodeInfo)) -> UDPTransport -> IO ( Transport String NodeInfo (DHTMessage Encrypted8) - , Transport String OnionToOwner (OnionMessage Encrypted) + , Transport String OnionDestination (OnionMessage Encrypted) , Transport String SockAddr NetCrypto ) toxTransport crypto closeLookup udp = do (dht,udp1) <- partitionTransport parseDHTAddr encodeDHTAddr id $ forwardOnions crypto udp -- cgit v1.2.3