Skip to content

Commit

Permalink
do not increment event count if address resolution fails
Browse files Browse the repository at this point in the history
  • Loading branch information
aarshkshah1992 committed Jul 22, 2024
1 parent ef36843 commit a99d6d2
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions chain/events/filter/index.go
Original file line number Diff line number Diff line change
Expand Up @@ -380,8 +380,6 @@ func (ei *EventIndex) CollectEvents(ctx context.Context, te *TipSetEvents, rever
var ok bool
addr, ok = resolver(ctx, ev.Emitter, te.rctTs)
if !ok {
// we should still increment the event count as that is the index of the event in the tipset
eventCount++
// not an address we will be able to match against
continue
}
Expand Down

0 comments on commit a99d6d2

Please sign in to comment.