From 0e32ad9e5ccc4a71d9304747b53b7f5fdf0d68c2 Mon Sep 17 00:00:00 2001 From: Ismail Khoffi Date: Mon, 11 Apr 2022 16:06:57 +0200 Subject: [PATCH] Update outdated doc comment (#8309) SetEventBus was deleted, same with the NopEventBus --- internal/state/execution.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/internal/state/execution.go b/internal/state/execution.go index b28288f49..ebad71fd3 100644 --- a/internal/state/execution.go +++ b/internal/state/execution.go @@ -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,