From 9eb68f23eb3f2bcf036a9c6237883cf1fbdf383e Mon Sep 17 00:00:00 2001 From: Kevaundray Wedderburn Date: Mon, 14 Oct 2024 19:53:57 +0100 Subject: [PATCH] formatting --- crypto/bn256/gnark/gt.go | 1 - tests/fuzzers/bn256/bn256_fuzz.go | 1 - 2 files changed, 2 deletions(-) diff --git a/crypto/bn256/gnark/gt.go b/crypto/bn256/gnark/gt.go index 8a14fbe5c0..c30022c5f8 100644 --- a/crypto/bn256/gnark/gt.go +++ b/crypto/bn256/gnark/gt.go @@ -22,7 +22,6 @@ type GT struct { // It is needed for fuzzing. It should also be noted, // that the output of this function may not match other func Pair(a_ *G1, b_ *G2) *GT { - a := a_.inner b := b_.inner diff --git a/tests/fuzzers/bn256/bn256_fuzz.go b/tests/fuzzers/bn256/bn256_fuzz.go index 4383559dc0..4521f6b0db 100644 --- a/tests/fuzzers/bn256/bn256_fuzz.go +++ b/tests/fuzzers/bn256/bn256_fuzz.go @@ -166,7 +166,6 @@ func fuzzPair(data []byte) int { // // For the definition of `s` see 3.5 in https://eprint.iacr.org/2015/192.pdf func normalizeGTToGnark(cloudflareOrGoogleGT []byte) *gnark.GT { - // Compute s = 2*u(6*u^2 + 3*u + 1) u, _ := new(big.Int).SetString("0x44e992b44a6909f1", 0) u_exp2 := new(big.Int).Exp(u, big.NewInt(2), nil) // u^2