From 0e55453878e71d1cf0ecd2a4f24585e668bc00f1 Mon Sep 17 00:00:00 2001 From: Marko Date: Mon, 26 Dec 2022 15:37:55 +0100 Subject: [PATCH] chore: update the event manager modifier on context (#14418) Co-authored-by: Cal Bera --- types/context.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/context.go b/types/context.go index 8b174105df..8fda7c2b4e 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 }