File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -83,7 +83,7 @@ func (f *FilterMaps) updateLoop() {
83
83
for {
84
84
select {
85
85
case ev := <- headEventCh :
86
- head = ev .Block . Header ()
86
+ head = ev .Header
87
87
case syncMatcher = <- f .matcherSyncCh :
88
88
head = f .chain .CurrentBlock ()
89
89
case <- f .closeCh :
@@ -126,7 +126,7 @@ func (f *FilterMaps) updateLoop() {
126
126
// return nil if head processing needs to be stopped
127
127
select {
128
128
case ev := <- headEventCh :
129
- head = ev .Block . Header ()
129
+ head = ev .Header
130
130
case syncMatcher = <- f .matcherSyncCh :
131
131
head = f .chain .CurrentBlock ()
132
132
case <- f .closeCh :
@@ -160,7 +160,7 @@ func (f *FilterMaps) updateLoop() {
160
160
// return true if tail processing needs to be stopped
161
161
select {
162
162
case ev := <- headEventCh :
163
- head = ev .Block . Header ()
163
+ head = ev .Header
164
164
case syncMatcher = <- f .matcherSyncCh :
165
165
head = f .chain .CurrentBlock ()
166
166
case <- f .closeCh :
You can’t perform that action at this time.
0 commit comments