From 3c0359b7a49f10a9574bdce7eecae89d0d6d16b2 Mon Sep 17 00:00:00 2001 From: Ignacio Hagopian Date: Mon, 10 Apr 2023 13:45:54 -0300 Subject: [PATCH] lints Signed-off-by: Ignacio Hagopian --- conversion.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conversion.go b/conversion.go index 9839619e..45c81108 100644 --- a/conversion.go +++ b/conversion.go @@ -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