comments from review

This commit is contained in:
Ethan Buchman
2017-02-18 22:15:59 -05:00
parent 7228b11e3f
commit 44d472ddd3
2 changed files with 5 additions and 2 deletions
+1
View File
@@ -259,6 +259,7 @@ func ReplayLastBlock(config cfg.Config, state *sm.State, proxyApp proxy.AppConnC
evsw := types.NewEventSwitch()
evsw.Start()
defer evsw.Stop()
cs.SetEventSwitch(evsw)
newBlockCh := subscribeToEvent(evsw, "consensus-replay", types.EventStringNewBlock(), 1)