From 45c40b7ab2cad55e2d34c044536f244a84c3394d Mon Sep 17 00:00:00 2001 From: Dmitry <98899785+mdqst@users.noreply.github.com> Date: Mon, 23 Dec 2024 14:21:01 +0300 Subject: [PATCH] docs: Fix repetition error in validation rule Update SPECIFICATION.md Fix repetition error in validation rule for m.data.body.name --- docs/SPECIFICATION.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/SPECIFICATION.md b/docs/SPECIFICATION.md index 53a623c..7b455b2 100644 --- a/docs/SPECIFICATION.md +++ b/docs/SPECIFICATION.md @@ -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.