Skip to content

Commit

Permalink
Added nolint
Browse files Browse the repository at this point in the history
  • Loading branch information
Olshansk committed Jun 4, 2024
1 parent 1a144d1 commit 3f43640
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions trie_spec.go
Original file line number Diff line number Diff line change
Expand Up @@ -238,6 +238,7 @@ func (spec *TrieSpec) parseExtNode(data []byte) (pathBounds, path, childData []b
}

// parseSumLeafNode parses a leafNode and returns its weight as well
// // nolint: unused
func (spec *TrieSpec) parseSumLeafNode(data []byte) (path, value []byte, weight uint64) {
// panics if not a leaf node
checkPrefix(data, leafNodePrefix)
Expand Down

0 comments on commit 3f43640

Please sign in to comment.