From ec5ab803fd436847897d56f924efda65c048d1b5 Mon Sep 17 00:00:00 2001 From: rjl493456442 Date: Fri, 30 Jan 2026 10:37:49 +0800 Subject: [PATCH] Update history_trienode.go --- triedb/pathdb/history_trienode.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/triedb/pathdb/history_trienode.go b/triedb/pathdb/history_trienode.go index a065d02eb8..11d6112806 100644 --- a/triedb/pathdb/history_trienode.go +++ b/triedb/pathdb/history_trienode.go @@ -396,7 +396,7 @@ func decodeRestartTrailer(keySection []byte) ([]uint32, []uint32, int, error) { return nil, nil, 0, fmt.Errorf("key section too short, size: %d", len(keySection)) } nRestarts := binary.BigEndian.Uint32(keySection[len(keySection)-4:]) - + // Decode the trailer var ( keyOffsets = make([]uint32, 0, int(nRestarts))