diff options
author | Jeffrey Wilcke <obscuren@users.noreply.github.com> | 2014-10-17 23:10:34 +0800 |
---|---|---|
committer | Jeffrey Wilcke <obscuren@users.noreply.github.com> | 2014-10-17 23:10:34 +0800 |
commit | df2b70853ff0764c4fcb181547eee3a66f7bda4a (patch) | |
tree | a70bf06660283bcc83f6a499cf9fed808d347a06 /peer.go | |
parent | 3b709852846317d3456f55f906afc327ba76d6df (diff) | |
parent | fa84e50ddb8e64d4cb92d58e235cfed13761f21e (diff) | |
download | go-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.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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() |