Skip to content

Commit

Permalink
remove scheduled blocks when filtering for missed slots
Browse files Browse the repository at this point in the history
  • Loading branch information
pk910 committed Nov 29, 2023
1 parent 6dc4fb1 commit 23f37dd
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions services/beaconservice.go
Original file line number Diff line number Diff line change
Expand Up @@ -580,6 +580,9 @@ func (bs *BeaconService) GetDbBlocksByFilter(filter *dbtypes.BlockFilter, pageId
if proposedMap[slot] {
continue
}
if filter.WithMissing == 2 && slot > idxHeadSlot {
continue
}

if filter.ProposerIndex != nil {
if assigned != *filter.ProposerIndex {
Expand Down

0 comments on commit 23f37dd

Please sign in to comment.