Skip to content

Commit

Permalink
core/filtermaps: fix after rebase
Browse files Browse the repository at this point in the history
  • Loading branch information
zsfelfoldi committed Oct 24, 2024
1 parent 769ba35 commit e140ff2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions core/filtermaps/indexer.go
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ func (f *FilterMaps) updateLoop() {
for {
select {
case ev := <-headEventCh:
head = ev.Block.Header()
head = ev.Header
case syncMatcher = <-f.matcherSyncCh:
head = f.chain.CurrentBlock()
case <-f.closeCh:
Expand Down Expand Up @@ -126,7 +126,7 @@ func (f *FilterMaps) updateLoop() {
// return nil if head processing needs to be stopped
select {
case ev := <-headEventCh:
head = ev.Block.Header()
head = ev.Header
case syncMatcher = <-f.matcherSyncCh:
head = f.chain.CurrentBlock()
case <-f.closeCh:
Expand Down Expand Up @@ -160,7 +160,7 @@ func (f *FilterMaps) updateLoop() {
// return true if tail processing needs to be stopped
select {
case ev := <-headEventCh:
head = ev.Block.Header()
head = ev.Header
case syncMatcher = <-f.matcherSyncCh:
head = f.chain.CurrentBlock()
case <-f.closeCh:
Expand Down

0 comments on commit e140ff2

Please sign in to comment.