aboutsummaryrefslogtreecommitdiffstats
path: root/peer.go
diff options
context:
space:
mode:
authorJeffrey Wilcke <obscuren@users.noreply.github.com>2014-10-17 23:10:34 +0800
committerJeffrey Wilcke <obscuren@users.noreply.github.com>2014-10-17 23:10:34 +0800
commitdf2b70853ff0764c4fcb181547eee3a66f7bda4a (patch)
treea70bf06660283bcc83f6a499cf9fed808d347a06 /peer.go
parent3b709852846317d3456f55f906afc327ba76d6df (diff)
parentfa84e50ddb8e64d4cb92d58e235cfed13761f21e (diff)
downloadgo-tangerine-df2b70853ff0764c4fcb181547eee3a66f7bda4a.tar
go-tangerine-df2b70853ff0764c4fcb181547eee3a66f7bda4a.tar.gz
go-tangerine-df2b70853ff0764c4fcb181547eee3a66f7bda4a.tar.bz2
go-tangerine-df2b70853ff0764c4fcb181547eee3a66f7bda4a.tar.lz
go-tangerine-df2b70853ff0764c4fcb181547eee3a66f7bda4a.tar.xz
go-tangerine-df2b70853ff0764c4fcb181547eee3a66f7bda4a.tar.zst
go-tangerine-df2b70853ff0764c4fcb181547eee3a66f7bda4a.zip
Merge pull request #58 from fjl/feature/event
Blocking event package
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()