Skip to content

Commit

Permalink
Fix comment
Browse files Browse the repository at this point in the history
  • Loading branch information
Mason Liang committed Oct 10, 2023
1 parent 36344ac commit bc81d4b
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/mpt.rs
Original file line number Diff line number Diff line change
Expand Up @@ -118,8 +118,6 @@ impl MptCircuitConfig {
proofs: &[Proof],
n_rows: usize,
) -> Result<(), Error> {
dbg!(Self::n_rows_required(proofs));

let randomness = self.rlc_randomness.value(layouter);
let (u32s, u64s, u128s, frs) = byte_representations(proofs);

Expand Down Expand Up @@ -182,7 +180,7 @@ impl MptCircuitConfig {
pub fn n_rows_required(proofs: &[Proof]) -> usize {
let (u32s, u64s, u128s, frs) = byte_representations(proofs);

// +1 for the final padding row to satisfy the "final mpt update is padding" constraint.
// +1 for the final padding row to satisfy the "final mpt update is padding" constraint.
1 + *[
MptUpdateConfig::n_rows_required(proofs),
CanonicalRepresentationConfig::n_rows_required(&mpt_update_keys(proofs)),
Expand Down

0 comments on commit bc81d4b

Please sign in to comment.