use NopEventBus

This commit is contained in:
Ethan Buchman
2017-12-27 22:25:46 -05:00
parent 0acca7fe69
commit 537b0dfa1a
5 changed files with 5 additions and 5 deletions

View File

@ -266,7 +266,7 @@ func newConsensusStateWithConfigAndBlockStore(thisConfig *cfg.Config, state sm.S
// Make ConsensusReactor
stateDB := dbm.NewMemDB() // XXX !!
blockExec := sm.NewBlockExecutor(stateDB, log.TestingLogger(),
nil, proxyAppConnCon, mempool, evpool)
types.NopEventBus{}, proxyAppConnCon, mempool, evpool)
cs := NewConsensusState(thisConfig.Consensus, state, blockExec, blockStore, mempool, evpool)
cs.SetLogger(log.TestingLogger())
cs.SetPrivValidator(pv)