Skip to content

Commit

Permalink
improve docs
Browse files Browse the repository at this point in the history
  • Loading branch information
andrew-fleming committed Nov 14, 2024
1 parent 754fb87 commit d962097
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/modules/ROOT/pages/api/merkle-tree.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ Not all Merkle trees admit multiproofs.
To use multiproofs, it is sufficient to ensure that:
1. The tree is complete (but not necessarily perfect).
2. The leaves to be proven are in the opposite order they are in the tree.
2. The leaves to be proven are in the opposite order than they are in the tree.
(i.e., as seen from right to left starting at the deepest layer and continuing at the next layer).
====

Expand Down Expand Up @@ -182,7 +182,7 @@ Declares a commutative hash function with the following signature:

`commutative_hash(a: felt252, b: felt252) -> felt252;`

which computes a commutative hash of a sorted pair of `felt252`.
which computes a commutative hash of a sorted pair of `felt252` values.

This is usually implemented as an extension of a non-commutative hash function, like
Pedersen or Poseidon, returning the hash of the concatenation of the two values by first
Expand Down

0 comments on commit d962097

Please sign in to comment.