Skip to content

Commit

Permalink
Update PopulateMerkleValues method comment
Browse files Browse the repository at this point in the history
Co-authored-by: Kishan Sagathiya <[email protected]>
  • Loading branch information
qdm12 and kishansagathiya committed Nov 7, 2022
1 parent 190201b commit 1fe78de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/trie/database.go
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ func (t *Trie) loadNode(db Database, n *Node) error {
}

// PopulateMerkleValues writes the Merkle values of the node given and of
// all its descendant nodes as keys to the map merkleValues.
// all its descendant nodes as keys to the merkleValues map.
// It is assumed the node and its descendant nodes have their Merkle value already
// computed.
func PopulateMerkleValues(n *Node, merkleValues map[string]struct{}) {
Expand Down

0 comments on commit 1fe78de

Please sign in to comment.