Skip to content

Commit

Permalink
Why does all_padding produce a synthesis error?
Browse files Browse the repository at this point in the history
  • Loading branch information
Mason Liang committed Nov 7, 2023
1 parent bed90a1 commit 50a1159
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gadgets/mpt_update.rs
Original file line number Diff line number Diff line change
Expand Up @@ -381,7 +381,7 @@ impl MptUpdateConfig {
self.assign_proof(&mut region, 0, &proof, randomness);
} else if i == 0 {
// Need make one assignment so region size is calculated correctly.
self.key.assign(&mut region, 0, 0);
self.new_hash.assign(&mut region, 0, 0);
} else {
self.assign_padding_row(&mut region, 0);
}
Expand Down

0 comments on commit 50a1159

Please sign in to comment.