aboutsummaryrefslogtreecommitdiffstats
path: root/peer.go
diff options
context:
space:
mode:
authorFelix Lange <fjl@twurst.com>2014-10-14 07:58:31 +0800
committerFelix Lange <fjl@twurst.com>2014-10-17 00:50:48 +0800
commit36cdab206849c7e363e0b9911553098c3e8ca644 (patch)
tree5cf4093f0531b435e7dc4092953a60903d837429 /peer.go
parent690690489610352d43f8547744b6c9486ad5affa (diff)
downloaddexon-36cdab206849c7e363e0b9911553098c3e8ca644.tar
dexon-36cdab206849c7e363e0b9911553098c3e8ca644.tar.gz
dexon-36cdab206849c7e363e0b9911553098c3e8ca644.tar.bz2
dexon-36cdab206849c7e363e0b9911553098c3e8ca644.tar.lz
dexon-36cdab206849c7e363e0b9911553098c3e8ca644.tar.xz
dexon-36cdab206849c7e363e0b9911553098c3e8ca644.tar.zst
dexon-36cdab206849c7e363e0b9911553098c3e8ca644.zip
all: use (blocking) event package instead of ethreact
Diffstat (limited to 'peer.go')
-rw-r--r--peer.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/peer.go b/peer.go
index e9551e066..d66d082bb 100644
--- a/peer.go
+++ b/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()