Skip to content

Commit

Permalink
docs: Fix repetition error in validation rule Update SPECIFICATION.md
Browse files Browse the repository at this point in the history
Fix repetition error in validation rule for m.data.body.name
  • Loading branch information
Dmitry authored Dec 23, 2024
1 parent 48e64b8 commit 45c40b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/SPECIFICATION.md
Original file line number Diff line number Diff line change
Expand Up @@ -468,7 +468,7 @@ A UsernameProof message `m` must pass these validations:

A UsernameProof message `m` of type `USERNAME_TYPE_FNAME` must also pass these validations:

1. `m.data.body.name` name must match the regular expression `/^[a-z0-9][a-z0-9-]{0,15}$/`.
1. `m.data.body.name` must match the regular expression `/^[a-z0-9][a-z0-9-]{0,15}$/`.
2. `m.data.body.owner` must be the custody address of the fid.
3. `m.data.body.signature` must be a valid ECDSA signature on the EIP-712 Username Proof message from the owner or the public key of the fname server.

Expand Down

0 comments on commit 45c40b7

Please sign in to comment.