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 Oct 11, 2024
1 parent 47b7525 commit 6052066
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 6052066

Please sign in to comment.