Skip to content

Commit

Permalink
Update hasher.go
Browse files Browse the repository at this point in the history
Co-authored-by: Redouane Lakrache <[email protected]>
Signed-off-by: Daniel Olshansky <[email protected]>
  • Loading branch information
Olshansk and red-0ne authored Jun 11, 2024
1 parent 676ce19 commit 5e49112
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hasher.go
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ func (th *trieHasher) parseInnerNode(data []byte) (leftData, rightData []byte) {
}

// parseSumInnerNode returns the encoded left & right nodes, as well as the sum
// and non-empty leafs in the sub-trie of the current node.
// and non-empty leaf count in the sub-trie of the current node.
func (th *trieHasher) parseSumInnerNode(data []byte) (leftData, rightData []byte, sum, count uint64) {
firstSumByteIdx, firstCountByteIdx := GetFirstMetaByteIdx(data)

Expand Down

0 comments on commit 5e49112

Please sign in to comment.