Update twist.go

This commit is contained in:
Antonio Sanso 2025-06-20 11:07:53 +02:00 committed by GitHub
parent f8331e8b47
commit 32f4a1ba92
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -57,7 +57,6 @@ func (c *twistPoint) IsOnCurve() bool {
if *y2 != *x3 {
return false
}
// Subgroup check: multiply the point by the group order and
// verify that it becomes the point at infinity.
cneg := &twistPoint{}