From a1d30dc66c84b904b388406c1cddc95d26102d65 Mon Sep 17 00:00:00 2001 From: Hteev Oli Date: Tue, 29 Oct 2024 14:05:23 +0800 Subject: [PATCH] revert --- trie/sync.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/trie/sync.go b/trie/sync.go index a046413f2d..ff02c44af8 100644 --- a/trie/sync.go +++ b/trie/sync.go @@ -596,7 +596,7 @@ func (s *Sync) children(req *nodeRequest, object node) ([]*nodeRequest, error) { if node.Children[i] != nil { children = append(children, childNode{ node: node.Children[i], - path: slices.Concat(req.path, []byte{i}), + path: append(append([]byte(nil), req.path...), byte(i)), }) } }