We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f805900 commit bca6626Copy full SHA for bca6626
1 file changed
internal/utilities/siwe/parser.go
@@ -219,8 +219,9 @@ func (m *SIWEMessage) VerifySignature(signatureHex string) bool {
219
copy(signature, sig)
220
221
// Normalize V if needed
222
+ // #nosec G602
223
if signature[64] >= 27 {
- signature[64] -= 27
224
+ signature[64] -= 27 // #nosec G602
225
}
226
227
hash := accounts.TextHash([]byte(m.Raw))
0 commit comments