mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-25 06:06:44 +00:00
Update twist.go
This commit is contained in:
parent
f8331e8b47
commit
32f4a1ba92
1 changed files with 0 additions and 1 deletions
|
|
@ -57,7 +57,6 @@ func (c *twistPoint) IsOnCurve() bool {
|
||||||
if *y2 != *x3 {
|
if *y2 != *x3 {
|
||||||
return false
|
return false
|
||||||
}
|
}
|
||||||
|
|
||||||
// Subgroup check: multiply the point by the group order and
|
// Subgroup check: multiply the point by the group order and
|
||||||
// verify that it becomes the point at infinity.
|
// verify that it becomes the point at infinity.
|
||||||
cneg := &twistPoint{}
|
cneg := &twistPoint{}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue