diff options
author | Maran <maran.hidskes@gmail.com> | 2014-05-20 17:50:34 +0800 |
---|---|---|
committer | Maran <maran.hidskes@gmail.com> | 2014-05-20 17:50:34 +0800 |
commit | 12f30e6220354c4a8b08ecf41bb53444143f3660 (patch) | |
tree | 4397ab1b50723a2c6ad9ce6980f49bb137c48f1f /ethereum.go | |
parent | b8034f4d9ed7eea29a219a2d894ae22041a906a7 (diff) | |
download | dexon-12f30e6220354c4a8b08ecf41bb53444143f3660.tar dexon-12f30e6220354c4a8b08ecf41bb53444143f3660.tar.gz dexon-12f30e6220354c4a8b08ecf41bb53444143f3660.tar.bz2 dexon-12f30e6220354c4a8b08ecf41bb53444143f3660.tar.lz dexon-12f30e6220354c4a8b08ecf41bb53444143f3660.tar.xz dexon-12f30e6220354c4a8b08ecf41bb53444143f3660.tar.zst dexon-12f30e6220354c4a8b08ecf41bb53444143f3660.zip |
Refactored a lot of the chain catchup/reorg.
Diffstat (limited to 'ethereum.go')
-rw-r--r-- | ethereum.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ethereum.go b/ethereum.go index 14418023e..3a7202d53 100644 --- a/ethereum.go +++ b/ethereum.go @@ -222,7 +222,7 @@ func (s *Ethereum) ConnectToPeer(addr string) error { if phost == chost { alreadyConnected = true - ethutil.Config.Log.Debugf("[SERV] Peer %s already added.\n", chost) + //ethutil.Config.Log.Debugf("[SERV] Peer %s already added.\n", chost) return } }) @@ -235,7 +235,7 @@ func (s *Ethereum) ConnectToPeer(addr string) error { s.peers.PushBack(peer) - ethutil.Config.Log.Infof("[SERV] Adding peer %d / %d\n", s.peers.Len(), s.MaxPeers) + ethutil.Config.Log.Infof("[SERV] Adding peer (%s) %d / %d\n", addr, s.peers.Len(), s.MaxPeers) } return nil |