Skip to content

Commit

Permalink
lints
Browse files Browse the repository at this point in the history
Signed-off-by: Ignacio Hagopian <[email protected]>
  • Loading branch information
jsign committed Apr 10, 2023
1 parent e9abf77 commit 3c0359b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion conversion.go
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ func BatchNewLeafNode(nodesValues []BatchNewLeafNodeData) []LeafNode {
}

sort.Slice(ret, func(i, j int) bool {
return bytes.Compare(ret[i].stem[:], ret[j].stem[:]) < 0
return bytes.Compare(ret[i].stem, ret[j].stem) < 0
})

return ret
Expand Down

0 comments on commit 3c0359b

Please sign in to comment.