From 0df673caa16712b2681821a6ca2c7b8f3392d3df Mon Sep 17 00:00:00 2001 From: "V.O.T" Date: Sat, 24 Jun 2023 16:15:48 +0800 Subject: [PATCH 1/2] Remove unneeded variable bits --- packages/circuits/eff_ecdsa_membership/eff_ecdsa.circom | 1 - 1 file changed, 1 deletion(-) diff --git a/packages/circuits/eff_ecdsa_membership/eff_ecdsa.circom b/packages/circuits/eff_ecdsa_membership/eff_ecdsa.circom index b3fb6009f..9305173a8 100644 --- a/packages/circuits/eff_ecdsa_membership/eff_ecdsa.circom +++ b/packages/circuits/eff_ecdsa_membership/eff_ecdsa.circom @@ -11,7 +11,6 @@ include "../../../node_modules/circomlib/circuits/bitify.circom"; * public key validation included. */ template EfficientECDSA() { - var bits = 256; signal input s; signal input Tx; // T = r^-1 * R signal input Ty; From 5500a11daf0cf42a6f88fd964742d8a638ea7d00 Mon Sep 17 00:00:00 2001 From: "V.O.T" Date: Tue, 27 Jun 2023 13:37:19 +0800 Subject: [PATCH 2/2] remove uneeded variable --- packages/circuits/eff_ecdsa_membership/eff_ecdsa_to_addr.circom | 1 - 1 file changed, 1 deletion(-) diff --git a/packages/circuits/eff_ecdsa_membership/eff_ecdsa_to_addr.circom b/packages/circuits/eff_ecdsa_membership/eff_ecdsa_to_addr.circom index 0c54599d8..a0e94ca3e 100644 --- a/packages/circuits/eff_ecdsa_membership/eff_ecdsa_to_addr.circom +++ b/packages/circuits/eff_ecdsa_membership/eff_ecdsa_to_addr.circom @@ -10,7 +10,6 @@ include "./to_address/zk-identity/eth.circom"; * Converts inputted efficient ECDSA signature to an address. */ template EfficientECDSAToAddr() { - var bits = 256; signal input s; signal input Tx; // T = r^-1 * R signal input Ty;