From 845efdb76e8ac8fdf23d8f3470390042cbdf995b Mon Sep 17 00:00:00 2001 From: Callum Waters Date: Tue, 6 Apr 2021 16:19:30 +0200 Subject: [PATCH] remove event bus from evidence reactor (#6320) --- evidence/reactor.go | 6 ------ 1 file changed, 6 deletions(-) diff --git a/evidence/reactor.go b/evidence/reactor.go index bc83f5127..867b729c0 100644 --- a/evidence/reactor.go +++ b/evidence/reactor.go @@ -55,7 +55,6 @@ type Reactor struct { service.BaseService evpool *Pool - eventBus *types.EventBus evidenceCh *p2p.Channel peerUpdates *p2p.PeerUpdates closeCh chan struct{} @@ -87,11 +86,6 @@ func NewReactor( return r } -// SetEventBus implements events.Eventable. -func (r *Reactor) SetEventBus(b *types.EventBus) { - r.eventBus = b -} - // OnStart starts separate go routines for each p2p Channel and listens for // envelopes on each. In addition, it also listens for peer updates and handles // messages on that p2p channel accordingly. The caller must be sure to execute