summaryrefslogtreecommitdiff
path: root/src/Network/Tox/DHT/Handlers.hs
diff options
context:
space:
mode:
Diffstat (limited to 'src/Network/Tox/DHT/Handlers.hs')
-rw-r--r--src/Network/Tox/DHT/Handlers.hs3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/Network/Tox/DHT/Handlers.hs b/src/Network/Tox/DHT/Handlers.hs
index d7f05dbc..2062b51d 100644
--- a/src/Network/Tox/DHT/Handlers.hs
+++ b/src/Network/Tox/DHT/Handlers.hs
@@ -340,9 +340,6 @@ unpong :: Message -> Maybe (Asymm (Nonce8,Pong))
340unpong (DHTPong asymm) = Just asymm 340unpong (DHTPong asymm) = Just asymm
341unpong _ = Nothing 341unpong _ = Nothing
342 342
343showHex :: BA.ByteArrayAccess ba => ba -> String
344showHex bs = C8.unpack $ Base16.encode $ BA.convert bs
345
346ping :: Client -> NodeInfo -> IO Bool 343ping :: Client -> NodeInfo -> IO Bool
347ping client addr = do 344ping client addr = do
348 dput XPing $ show addr ++ " <-- ping" 345 dput XPing $ show addr ++ " <-- ping"