forked from cerc-io/plugeth
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:
|
case event := <-reactor.eventChannel:
|
||||||
// needs to be called syncronously to keep order of events
|
// needs to be called syncronously to keep order of events
|
||||||
reactor.dispatch(event)
|
reactor.dispatch(event)
|
||||||
case reactor.drained <- true:
|
// case reactor.drained <- true:
|
||||||
default:
|
default:
|
||||||
reactor.drained <- true // blocking till message is coming in
|
reactor.drained <- true // blocking till message is coming in
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user