We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e9abf77 commit 3c0359bCopy full SHA for 3c0359b
conversion.go
@@ -57,7 +57,7 @@ func BatchNewLeafNode(nodesValues []BatchNewLeafNodeData) []LeafNode {
57
}
58
59
sort.Slice(ret, func(i, j int) bool {
60
- return bytes.Compare(ret[i].stem[:], ret[j].stem[:]) < 0
+ return bytes.Compare(ret[i].stem, ret[j].stem) < 0
61
})
62
63
return ret
0 commit comments