From 688450c2d9998db7b4389dc9642d219774c23857 Mon Sep 17 00:00:00 2001 From: Joe Crayne Date: Sun, 16 Dec 2018 13:51:02 -0500 Subject: More TCP work. --- src/Data/Tox/Onion.hs | 1 + 1 file changed, 1 insertion(+) (limited to 'src/Data/Tox/Onion.hs') diff --git a/src/Data/Tox/Onion.hs b/src/Data/Tox/Onion.hs index 85a9d21e..bd802c75 100644 --- a/src/Data/Tox/Onion.hs +++ b/src/Data/Tox/Onion.hs @@ -704,6 +704,7 @@ data DataToRoute = DataToRoute { dataFromKey :: PublicKey -- Real public key of sender , dataToRoute :: Encrypted OnionData -- (Word8,ByteString) -- DHTPK 0x9c } + deriving Show instance Sized DataToRoute where size = ConstSize 32 <> contramap dataToRoute size -- cgit v1.2.3