Skip to content

Commit

Permalink
trie: update the valid function comments (#29809)
Browse files Browse the repository at this point in the history
  • Loading branch information
cocoyeal authored May 21, 2024
1 parent 473ee8f commit be5df74
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion trie/sync.go
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ type nodeOp struct {
hash common.Hash // hash of the node content (empty for node deletion)
}

// isDelete indicates if the operation is a database deletion.
// valid checks whether the node operation is valid.
func (op *nodeOp) valid() bool {
if op.del && len(op.blob) != 0 {
return false
Expand Down

0 comments on commit be5df74

Please sign in to comment.