diff --git a/docs/merkle-sum-trie.md b/docs/merkle-sum-trie.md index 1c3678d..299c0e6 100644 --- a/docs/merkle-sum-trie.md +++ b/docs/merkle-sum-trie.md @@ -255,8 +255,8 @@ The root of the tree is a slice of bytes. `MerkleRoot` is an alias for `[]byte`. This design enables easily passing around the data (e.g. on-chain) while maintaining primitive usage in different use cases (e.g. proofs). -`MerkleRoot` provides helpers, such as retrieving the `Sum(sumTrie bool)uint64` -to interface with data it captures. +`MerkleRoot` provides helpers, such as retrieving the `Sum() uint64` to +interface with data it captures. ## Nil Values diff --git a/docs/smt.md b/docs/smt.md index f8bdaa1..bae85d2 100644 --- a/docs/smt.md +++ b/docs/smt.md @@ -349,8 +349,8 @@ The root of the tree is a slice of bytes. `MerkleRoot` is an alias for `[]byte`. This design enables easily passing around the data (e.g. on-chain) while maintaining primitive usage in different use cases (e.g. proofs). -`MerkleRoot` provides helpers, such as retrieving the `Sum(sumTrie bool)uint64` -to interface with data it captures. However, for the SMT it **always** panics, +`MerkleRoot` provides helpers, such as retrieving the `Sum() uint64` to +interface with data it captures. However, for the SMT it **always** panics, as there is no sum. ## Proofs