diff --git a/src/gadgets/mpt_update.rs b/src/gadgets/mpt_update.rs index 608101d..d0442e6 100644 --- a/src/gadgets/mpt_update.rs +++ b/src/gadgets/mpt_update.rs @@ -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); }