diff options
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 |