Skip to content

Commit

Permalink
fix counter of merkle
Browse files Browse the repository at this point in the history
  • Loading branch information
xgaozoyoe committed Jan 4, 2024
1 parent e5bbb53 commit 469eb87
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion crates/host/src/host/merkle_helper/merkle.rs
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,6 @@ impl MerkleContext {
pub fn merkle_setroot(&mut self, v: u64) {
self.set_root.reduce(v);
if self.set_root.cursor == 0 {
self.used_round += 1;
log::debug!("set root: {:?}", &self.set_root.rules[0].bytes_value());
self.mongo_merkle = Some(merklehelper::MongoMerkle::construct(
[0; 32],
Expand Down

0 comments on commit 469eb87

Please sign in to comment.