Skip to content

Commit

Permalink
Update ethstaker_deposit/utils/validation.py
Browse files Browse the repository at this point in the history
Co-authored-by: valefar-on-discord <[email protected]>
  • Loading branch information
remyroy and valefar-on-discord authored Jun 12, 2024
1 parent e581f6e commit c80706b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ethstaker_deposit/utils/validation.py
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,7 @@ def validate_bls_withdrawal_credentials(bls_withdrawal_credentials: str) -> byte

try:
if len(bls_withdrawal_credentials_bytes) != 32:
raise ValidationError('Lenght is not 32')
raise ValidationError('Length is not 32')
if bls_withdrawal_credentials_bytes[:1] != BLS_WITHDRAWAL_PREFIX:
raise ValidationError('Prefix is wrong')
except (ValueError, ValidationError):
Expand Down

0 comments on commit c80706b

Please sign in to comment.