mirror of https://github.com/status-im/op-geth.git
remove extra case in main loop
This commit is contained in:
parent
5a2afc5754
commit
4d77b7face
|
@ -95,7 +95,7 @@ func (reactor *ReactorEngine) Start() {
|
|||
case event := <-reactor.eventChannel:
|
||||
// needs to be called syncronously to keep order of events
|
||||
reactor.dispatch(event)
|
||||
case reactor.drained <- true:
|
||||
// case reactor.drained <- true:
|
||||
default:
|
||||
reactor.drained <- true // blocking till message is coming in
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue