post rebase fixes

This commit is contained in:
Ethan Buchman
2016-11-03 20:38:09 -04:00
parent 3f90fcae48
commit befd8b0cb2
3 changed files with 4 additions and 5 deletions

View File

@ -391,8 +391,7 @@ func newConsensusState(config cfg.Config) *consensus.ConsensusState {
// Make event switch
eventSwitch := types.NewEventSwitch()
_, err := eventSwitch.Start()
if err != nil {
if _, err := eventSwitch.Start(); err != nil {
Exit(Fmt("Failed to start event switch: %v", err))
}