Skip to content

Commit f862aaa

Browse files
Update twenty-first/src/util_types/merkle_tree.rs
Co-authored-by: Jan Ferdinand Sauer <ferdinand@neptune.cash>
1 parent 2591d81 commit f862aaa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

twenty-first/src/util_types/merkle_tree.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -462,7 +462,7 @@ impl PartialMerkleTree {
462462
}
463463

464464
fn num_leafs(&self) -> Result<MerkleTreeLeafIndex> {
465-
1usize
465+
1_usize
466466
.checked_shl(self.tree_height)
467467
.ok_or(MerkleTreeError::TreeTooHigh)
468468
}

0 commit comments

Comments
 (0)