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))