Fix: typos (#249)

* tests: fix typos
* full.rs: fix typo
* CONTRIBUTING: fix typo
This commit is contained in:
cristiantroy
2024-01-17 08:17:48 +08:00
committed by Bobbin Threadbare
parent 6b5db8a6db
commit 260592f8e7
3 changed files with 6 additions and 6 deletions

View File

@@ -280,7 +280,7 @@ impl Mmr {
// Update the depth of the tree to correspond to a subtree
forest_target >>= 1;
// compute the indeces of the right and left subtrees based on the post-order
// compute the indices of the right and left subtrees based on the post-order
let right_offset = index - 1;
let left_offset = right_offset - nodes_in_forest(forest_target);