Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion core/rawdb/accessors_chain.go
Original file line number Diff line number Diff line change
Expand Up @@ -326,7 +326,7 @@ func ReadHeaderRange(db ethdb.Reader, number uint64, count uint64) []rlp.RawValu
// read remaining from ancients, cap at 2M
data, err := db.AncientRange(ChainFreezerHeaderTable, i+1-count, count, 2*1024*1024)
if err != nil {
log.Error("Failed to read headers from freezer", "err", err, "start", i+1-count, "count", count, "number", number)
log.Debug("Failed to read headers from freezer", "err", err, "start", i+1-count, "count", count, "number", number)
return rlpHeaders
}
if uint64(len(data)) != count {
Expand Down
1 change: 0 additions & 1 deletion core/rawdb/freezer_table.go
Original file line number Diff line number Diff line change
Expand Up @@ -1037,7 +1037,6 @@ func (t *freezerTable) retrieveItems(start, count, maxBytes uint64) ([]byte, []i
// Ensure the start is written, not deleted from the tail, and that the
// caller actually wants something
if items <= start || hidden > start || count == 0 {
log.Debug("retrieveItems out of bounds", "table name", t.name, "items", items, "hidden", hidden, "start", start, "count", count)
return nil, nil, errOutOfBounds
}
if start+count > items {
Expand Down
Loading