Skip to content

Commit

Permalink
Update distributor.go
Browse files Browse the repository at this point in the history
  • Loading branch information
kc1116 committed Jul 8, 2024
1 parent fb6e3dd commit 5b21b5c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions state/protocol/events/distributor.go
Original file line number Diff line number Diff line change
Expand Up @@ -67,11 +67,11 @@ func (d *Distributor) EpochCommittedPhaseStarted(epoch uint64, first *flow.Heade
}
}

func (d *Distributor) EpochFallbackModeTriggered(epoch uint64, header *flow.Header) {
func (d *Distributor) EpochFallbackModeTriggered(epochCounter uint64, header *flow.Header) {
d.mu.RLock()
defer d.mu.RUnlock()
for _, sub := range d.subscribers {
sub.EpochFallbackModeTriggered(epoch, header)
sub.EpochFallbackModeTriggered(epochCounter, header)
}
}

Expand Down

0 comments on commit 5b21b5c

Please sign in to comment.