Update outdated doc comment (#8309)

SetEventBus was deleted, same with the NopEventBus
This commit is contained in:
Ismail Khoffi
2022-04-11 16:06:57 +02:00
committed by GitHub
parent b7e87eef05
commit 0e32ad9e5c

View File

@@ -48,8 +48,7 @@ type BlockExecutor struct {
cache map[string]struct{}
}
// NewBlockExecutor returns a new BlockExecutor with a NopEventBus.
// Call SetEventBus to provide one.
// NewBlockExecutor returns a new BlockExecutor with the passed-in EventBus.
func NewBlockExecutor(
stateStore Store,
logger log.Logger,