move fireEvents to ApplyBlock

This commit is contained in:
Ethan Buchman
2017-12-28 18:58:05 -05:00
parent 8d8d63c94c
commit ae68fcb78a
6 changed files with 45 additions and 38 deletions

View File

@@ -291,6 +291,7 @@ func NewNode(config *cfg.Config,
eventBus.SetLogger(logger.With("module", "events"))
// services which will be publishing and/or subscribing for messages (events)
blockExec.SetEventBus(eventBus)
consensusReactor.SetEventBus(eventBus)
// Transaction indexing