Skip to content

Commit

Permalink
Remove "string" support for ScriptData
Browse files Browse the repository at this point in the history
  • Loading branch information
catch-21 authored and fmaste committed Mar 17, 2023
1 parent c4b9487 commit c265817
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cardano-api/src/Cardano/Api/ScriptData.hs
Expand Up @@ -628,7 +628,7 @@ instance Error ScriptDataJsonSchemaError where
++ LBS.unpack (Aeson.encode v)
displayError (ScriptDataJsonBadObject v) =
"JSON object does not match the schema.\nExpected a single field named "
++ "\"int\", \"bytes\", \"string\", \"list\" or \"map\".\n"
++ "\"int\", \"bytes\", \"list\" or \"map\".\n"
++ "Unexpected object field(s): "
++ LBS.unpack (Aeson.encode (KeyMap.fromList $ first Aeson.fromText <$> v))
displayError (ScriptDataJsonBadMapPair v) =
Expand Down

0 comments on commit c265817

Please sign in to comment.