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 <mvadari@gmail.com>
  • Loading branch information
ckeshava and mvadari authored Oct 21, 2024
1 parent a215e7e commit a343b80
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions xrpl/models/transactions/credential_create.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,7 @@ def _get_uri_error(self: Self) -> Optional[str]:
if not HEX_REGEX.fullmatch(self.uri):
error += "URI field must be encoded in base-16 format. "
return error if error != "" else None
else:
return None
return None

def _get_credential_type_error(self: Self) -> Optional[str]:
error = ""
Expand Down

0 comments on commit a343b80

Please sign in to comment.