all: use (blocking) event package instead of ethreact
This commit is contained in:
2
peer.go
2
peer.go
@ -802,7 +802,7 @@ func (p *Peer) handleHandshake(msg *ethwire.Msg) {
|
||||
p.versionKnown = true
|
||||
|
||||
p.ethereum.PushPeer(p)
|
||||
p.ethereum.reactor.Post("peerList", p.ethereum.Peers())
|
||||
p.ethereum.eventMux.Post(PeerListEvent{p.ethereum.Peers()})
|
||||
|
||||
p.protocolCaps = caps
|
||||
capsIt := caps.NewIterator()
|
||||
|
Reference in New Issue
Block a user