Skip to content

Commit

Permalink
Update xrpl/models/transactions/credential_create.py
Browse files Browse the repository at this point in the history
Co-authored-by: Mayukha Vadari <[email protected]>
  • Loading branch information
ckeshava and mvadari authored Nov 7, 2024
1 parent a6ac0f4 commit 111e12a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xrpl/models/transactions/credential_create.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ def _get_uri_error(self: Self) -> Optional[str]:
errors = []
if len(self.uri) == 0:
errors.append("Length must be > 0.")
if len(self.uri) > _MAX_URI_LENGTH:
elif len(self.uri) > _MAX_URI_LENGTH:
errors.append(f"Length must be < {_MAX_URI_LENGTH}.")
if not HEX_REGEX.fullmatch(self.uri):
errors.append("Must be encoded in hex.")
Expand Down

0 comments on commit 111e12a

Please sign in to comment.