diff --git a/crypto/bn256/cloudflare/optate.go b/crypto/bn256/cloudflare/optate.go index e8caa7a086..b71e50e3a2 100644 --- a/crypto/bn256/cloudflare/optate.go +++ b/crypto/bn256/cloudflare/optate.go @@ -199,8 +199,9 @@ func miller(q *twistPoint, p *curvePoint) *gfP12 { r = newR r2.Square(&minusQ2.y) - a, b, c, _ = lineFunctionAdd(r, minusQ2, bAffine, r2) + a, b, c, newR = lineFunctionAdd(r, minusQ2, bAffine, r2) mulLine(ret, a, b, c) + r = newR return ret }