diff --git a/crypto/bn256/gnark/g1.go b/crypto/bn256/gnark/g1.go index bb25d7b834..cc80e06cc4 100644 --- a/crypto/bn256/gnark/g1.go +++ b/crypto/bn256/gnark/g1.go @@ -29,11 +29,6 @@ func (g *G1) ScalarMult(a *G1, scalar *big.Int) { g.inner.ScalarMultiplication(&a.inner, scalar) } -// Double adds `a` to itself, storing the result in `g` -func (g *G1) Double(a *G1) { - g.inner.Double(&a.inner) -} - // Unmarshal deserializes `buf` into `g` // // Note: whether the serialization is of a compressed diff --git a/crypto/bn256/gnark/g2.go b/crypto/bn256/gnark/g2.go index 86b1a8d747..c79d8604e0 100644 --- a/crypto/bn256/gnark/g2.go +++ b/crypto/bn256/gnark/g2.go @@ -21,11 +21,6 @@ func (g *G2) Add(a, b *G2) { g.inner.Add(&a.inner, &b.inner) } -// Double adds `a` to itself, storing the result in `g` -func (g *G2) Double(a *G2) { - g.inner.Double(&a.inner) -} - // Unmarshal deserializes `buf` into `g` // // Note: whether the serialization is of a compressed