chore: update the event manager modifier on context (#14418)

Co-authored-by: Cal Bera <calbera@berachain.com>
This commit is contained in:
Marko 2022-12-26 15:37:55 +01:00 committed by GitHub
parent 67c96bb922
commit 0e55453878
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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
}