Skip to content

Commit

Permalink
typos constraints.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
Pricstas authored Dec 20, 2024
1 parent 53d8865 commit 000c87d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crypto-primitives/src/merkle_tree/constraints.rs
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ impl<P: Config, F: PrimeField, PG: ConfigGadget<P, F>> PathVar<P, F, PG> {

let mut curr_hash =
PG::TwoToOneHash::evaluate(two_to_one_params, left_hash.borrow(), right_hash.borrow())?;
// To traverse up a MT, we iterate over the path from bottom to top (i.e. in reverse)
// To traverse up an MT, we iterate over the path from bottom to top (i.e. in reverse)

// At any given bit, the bit being 0 indicates our currently hashed value is the left,
// and the bit being 1 indicates our currently hashed value is on the right.
Expand Down

0 comments on commit 000c87d

Please sign in to comment.