Skip to content

Commit

Permalink
fix bug in exclude reverted logic (#12588)
Browse files Browse the repository at this point in the history
  • Loading branch information
aarshkshah1992 authored and rjan90 committed Oct 14, 2024
1 parent 36fc045 commit 9f024f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion chain/events/filter/event.go
Original file line number Diff line number Diff line change
Expand Up @@ -413,7 +413,7 @@ func (m *EventFilterManager) Fill(

if m.EventIndex != nil && minHeight != -1 && minHeight < currentHeight {
// Filter needs historic events
excludeReverted := tipsetCid != cid.Undef
excludeReverted := tipsetCid == cid.Undef
if err := m.EventIndex.prefillFilter(ctx, f, excludeReverted); err != nil {
return nil, err
}
Expand Down

0 comments on commit 9f024f1

Please sign in to comment.