Browse Source

remove event bus from evidence reactor (#6320)

pull/6324/head
Callum Waters 4 years ago
committed by GitHub
parent
commit
845efdb76e
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 6 deletions
  1. +0
    -6
      evidence/reactor.go

+ 0
- 6
evidence/reactor.go View File

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


Loading…
Cancel
Save