Peer changes broadcasting and minor miner fix

This commit is contained in:
obscuren
2014-05-30 16:57:58 +02:00
parent b15e03acd7
commit 17c825f53a
3 changed files with 43 additions and 14 deletions

View File

@ -238,6 +238,7 @@ func (s *Ethereum) ConnectToPeer(addr string) error {
s.peers.PushBack(peer)
ethutil.Config.Log.Infof("[SERV] Adding peer (%s) %d / %d\n", addr, s.peers.Len(), s.MaxPeers)
s.reactor.Post("peerList", s.peers)
}
return nil