diff options
Diffstat (limited to 'curve/ed25519.go')
-rw-r--r-- | curve/ed25519.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/curve/ed25519.go b/curve/ed25519.go index d1edc90..70c00fd 100644 --- a/curve/ed25519.go +++ b/curve/ed25519.go @@ -94,7 +94,7 @@ func (c *c25519) Generator() *point { return (*point)(ed.NewGeneratorPoint()) } -func (c *c25519) Product(pts []*point) (product *point) { +func (c *c25519) Product(pts ...*point) (product *point) { product = c.Identity() for _, p := range pts { product = product.Mul(p) |