Skip to content

Commit

Permalink
Fix a bug in Memory::store_slice_aligned()
Browse files Browse the repository at this point in the history
The method was taking the value of the merkle tree and not returning it.
  • Loading branch information
eljobe committed May 8, 2024
1 parent 8bbf934 commit b9bad0c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions arbitrator/prover/src/memory.rs
Original file line number Diff line number Diff line change
Expand Up @@ -263,6 +263,7 @@ impl Memory {
merkle.set(start_leaf, hash_leaf(self.get_leaf_data(start_leaf)));
// No need for second merkle
assert!(value.len() <= Self::LEAF_SIZE);
self.merkle = Some(merkle);
}

true
Expand Down

0 comments on commit b9bad0c

Please sign in to comment.