diff --git a/internal/utilities/siwe/parser.go b/internal/utilities/siwe/parser.go index d6411e057..bd1c1f5dd 100644 --- a/internal/utilities/siwe/parser.go +++ b/internal/utilities/siwe/parser.go @@ -219,8 +219,9 @@ func (m *SIWEMessage) VerifySignature(signatureHex string) bool { copy(signature, sig) // Normalize V if needed + // #nosec G602 if signature[64] >= 27 { - signature[64] -= 27 + signature[64] -= 27 // #nosec G602 } hash := accounts.TextHash([]byte(m.Raw))