diff options
author | Özgür Kesim <oec@codeblau.de> | 2024-11-15 12:55:01 +0100 |
---|---|---|
committer | Özgür Kesim <oec@codeblau.de> | 2024-11-15 12:55:01 +0100 |
commit | 9d5358deb9cb52c850e91a282b27e98545f34ee6 (patch) | |
tree | 8ea3b659538a9ce4b99ac45a6739ea05fb237518 /veto/veto.go | |
parent | de44f1a28bc8d14f5ae1aecc11edc0624a330ec4 (diff) |
simplify Product API
Diffstat (limited to 'veto/veto.go')
-rw-r--r-- | veto/veto.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/veto/veto.go b/veto/veto.go index 9ecf13f..f0aa3c5 100644 --- a/veto/veto.go +++ b/veto/veto.go @@ -250,7 +250,7 @@ type points []*Point // received the g^(c_i*y_i) from all other participants and calculates the product // of them. If the result is the unit element of the group, no veto was present. func (pts points) IsVetoed() bool { - product := Curve.Product(pts) + product := Curve.Product(pts...) one := Curve.Identity() return !one.Equal(product) } |