Skip to content

Commit

Permalink
Merge pull request #3086 from input-output-hk/piotr/increase-ticker-l…
Browse files Browse the repository at this point in the history
…ength

increase metadata ticker length
  • Loading branch information
rvl authored Jan 21, 2022
2 parents f7532fc + 68e5f87 commit f72734b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion lib/core/src/Cardano/Wallet/Primitive/Types/TokenPolicy.hs
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,7 @@ validateMetadataName :: Text -> Either String Text
validateMetadataName = validateMinLength 1 >=> validateMaxLength 50

validateMetadataTicker :: Text -> Either String Text
validateMetadataTicker = validateMinLength 2 >=> validateMaxLength 5
validateMetadataTicker = validateMinLength 2 >=> validateMaxLength 6

validateMetadataDescription :: Text -> Either String Text
validateMetadataDescription = validateMaxLength 500
Expand Down
6 changes: 3 additions & 3 deletions lib/core/test/data/Cardano/Wallet/TokenMetadata/golden4.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit f72734b

Please sign in to comment.