diff --git a/types/context.go b/types/context.go index 8b174105df18..8fda7c2b4e16 100644 --- a/types/context.go +++ b/types/context.go @@ -243,7 +243,7 @@ func (c Context) WithConsensusParams(params *tmproto.ConsensusParams) Context { } // WithEventManager returns a Context with an updated event manager -func (c Context) WithEventManager(em *EventManager) Context { +func (c Context) WithEventManager(em EventManagerI) Context { c.eventManager = em return c }