From 77b1d05da24ec00260817d73cfed80b7083a5673 Mon Sep 17 00:00:00 2001 From: Evgeny Poberezkin <2769109+epoberezkin@users.noreply.github.com> Date: Mon, 10 Jan 2022 13:55:08 +0000 Subject: [PATCH] preparing v1 release --- src/Simplex/Messaging/Crypto/Ratchet.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Simplex/Messaging/Crypto/Ratchet.hs b/src/Simplex/Messaging/Crypto/Ratchet.hs index 35540337f..c446b8685 100644 --- a/src/Simplex/Messaging/Crypto/Ratchet.hs +++ b/src/Simplex/Messaging/Crypto/Ratchet.hs @@ -198,7 +198,7 @@ instance FromJSON RatchetKey where instance AlgorithmI a => ToField (Ratchet a) where toField = toField . LB.toStrict . J.encode -instance (AlgorithmI a, Typeable a) => FromField (Ratchet a) where fromField = blobFieldDecoder $ J.eitherDecode' . LB.fromStrict +instance (AlgorithmI a, Typeable a) => FromField (Ratchet a) where fromField = blobFieldDecoder J.eitherDecodeStrict' instance ToField MessageKey where toField = toField . smpEncode