Skip to content

Commit

Permalink
Merge pull request #127 from ethpandaops/pk910/fix-filtered-slots
Browse files Browse the repository at this point in the history
fix rendering of unfinalized blocks on filtered slots page
  • Loading branch information
pk910 committed Sep 11, 2024
2 parents 377d32f + 754b3fe commit 294b430
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion services/chainservice_blocks.go
Original file line number Diff line number Diff line change
Expand Up @@ -659,7 +659,7 @@ func (bs *ChainService) GetDbBlocksByFilter(filter *dbtypes.BlockFilter, pageIdx
blockRootsIdx := make([]int, 0)
blockRootsCachedId := make([]uint64, 0)

if cachedPages > 0 && pageIdx <= cachedPages {
if pageIdx <= cachedPages {
var cachedMatchesRange []cachedDbBlock
if pageIdx == cachedPages {
cachedMatchesRange = cachedMatches[cachedStart:]
Expand Down

0 comments on commit 294b430

Please sign in to comment.