From c95d74cbf22486ca0e1342c6f2de53e3191e62e7 Mon Sep 17 00:00:00 2001 From: Pawel Jakubas Date: Tue, 9 Jul 2024 11:26:49 +0200 Subject: [PATCH] more fixes --- lib/api/src/Cardano/Wallet/Api/Http/Shelley/Server.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/api/src/Cardano/Wallet/Api/Http/Shelley/Server.hs b/lib/api/src/Cardano/Wallet/Api/Http/Shelley/Server.hs index 6e138e6bd0d..0c909b4ea89 100644 --- a/lib/api/src/Cardano/Wallet/Api/Http/Shelley/Server.hs +++ b/lib/api/src/Cardano/Wallet/Api/Http/Shelley/Server.hs @@ -3332,7 +3332,7 @@ fromMetadataEncrypted apiEncrypt metadata = Left ErrDecodeTxMissingValidEncryptionPayload else do let extracted = extractPayload <$> payloads - when (elem T.empty extracted) $ + when (T.empty `elem` extracted) $ Left ErrDecodeTxMissingValidEncryptionPayload Right extracted