Skip to content

Commit

Permalink
more fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
paweljakubas committed Jul 9, 2024
1 parent 189df67 commit c95d74c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/api/src/Cardano/Wallet/Api/Http/Shelley/Server.hs
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit c95d74c

Please sign in to comment.