diff options
author | Joe Crayne <joe@jerkface.net> | 2018-12-16 13:51:02 -0500 |
---|---|---|
committer | Joe Crayne <joe@jerkface.net> | 2018-12-16 14:08:27 -0500 |
commit | 688450c2d9998db7b4389dc9642d219774c23857 (patch) | |
tree | 69933330ad0baba2eb115d70d1e63cb085664ea1 /src/Data/Tox/Onion.hs | |
parent | 8a72757ae66f6ec013b8f3443aea6f3266a2ab26 (diff) |
More TCP work.
Diffstat (limited to 'src/Data/Tox/Onion.hs')
-rw-r--r-- | src/Data/Tox/Onion.hs | 1 |
1 files changed, 1 insertions, 0 deletions
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 | |||
704 | { dataFromKey :: PublicKey -- Real public key of sender | 704 | { dataFromKey :: PublicKey -- Real public key of sender |
705 | , dataToRoute :: Encrypted OnionData -- (Word8,ByteString) -- DHTPK 0x9c | 705 | , dataToRoute :: Encrypted OnionData -- (Word8,ByteString) -- DHTPK 0x9c |
706 | } | 706 | } |
707 | deriving Show | ||
707 | 708 | ||
708 | instance Sized DataToRoute where | 709 | instance Sized DataToRoute where |
709 | size = ConstSize 32 <> contramap dataToRoute size | 710 | size = ConstSize 32 <> contramap dataToRoute size |