Skip to content

Commit

Permalink
fix leaf usage in register_ecdsa_sha1
Browse files Browse the repository at this point in the history
  • Loading branch information
remicolin committed Sep 14, 2024
1 parent a18d969 commit a76b5f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion circuits/circuits/register/register_ecdsa_sha1.circom
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ template REGISTER_ECDSA_SHA1(n, k, max_datahashes_bytes, nLevels, signatureAlgor
PV.signature_s <== signature_s;

// Generate the commitment
signal output commitment <== ComputeCommitment()(secret, attestation_id, leaf_hasher.out, mrz);
signal output commitment <== ComputeCommitment()(secret, attestation_id, leaf, mrz);
}

// We hardcode 7 here for ecdsa_with_SHA1
Expand Down

0 comments on commit a76b5f5

Please sign in to comment.