diff --git a/emulated/ecdsa/address_test.go b/emulated/ecdsa/address_test.go index e7d19c8..b6c2954 100644 --- a/emulated/ecdsa/address_test.go +++ b/emulated/ecdsa/address_test.go @@ -32,14 +32,6 @@ func (c *testAddressCircuit) Define(api frontend.API) error { return nil } -func goSwapEndianness(b []byte) []byte { - var swap []byte - for i := len(b) - 1; i >= 0; i-- { - swap = append(swap, b[i]) - } - return swap -} - func TestAddressDerivation(t *testing.T) { c := qt.New(t) // compile the circuit and get the constraints diff --git a/tree/arbo/verifier_bls12377_test.go b/tree/arbo/verifier_bls12377_test.go index 8632366..5c16597 100644 --- a/tree/arbo/verifier_bls12377_test.go +++ b/tree/arbo/verifier_bls12377_test.go @@ -61,7 +61,7 @@ func TestVerifierBLS12377(t *testing.T) { TotalSiblings: n_siblings, KeyLen: k_len, Hash: arbotree.HashFunctionMiMC_BLS12_377, - BaseFiled: arbotree.BLS12377BaseField, + BaseField: arbotree.BLS12377BaseField, }, [][]byte{util.RandomBytes(k_len)}, [][]byte{big.NewInt(10).Bytes()}) c.Assert(err, qt.IsNil) // init and print inputs diff --git a/tree/arbo/verifier_bn254_test.go b/tree/arbo/verifier_bn254_test.go index f703d0d..f6f3459 100644 --- a/tree/arbo/verifier_bn254_test.go +++ b/tree/arbo/verifier_bn254_test.go @@ -47,7 +47,7 @@ func TestVerifierBN254(t *testing.T) { TotalSiblings: n_siblings, KeyLen: k_len, Hash: arbotree.HashFunctionPoseidon, - BaseFiled: arbotree.BN254BaseField, + BaseField: arbotree.BN254BaseField, }, [][]byte{util.RandomBytes(k_len)}, [][]byte{big.NewInt(10).Bytes()}) c.Assert(err, qt.IsNil) // init and print inputs