aboutsummaryrefslogtreecommitdiffstats
path: root/ethereum.go
diff options
context:
space:
mode:
authorMaran <maran.hidskes@gmail.com>2014-05-20 17:50:34 +0800
committerMaran <maran.hidskes@gmail.com>2014-05-20 17:50:34 +0800
commit12f30e6220354c4a8b08ecf41bb53444143f3660 (patch)
tree4397ab1b50723a2c6ad9ce6980f49bb137c48f1f /ethereum.go
parentb8034f4d9ed7eea29a219a2d894ae22041a906a7 (diff)
downloadgo-tangerine-12f30e6220354c4a8b08ecf41bb53444143f3660.tar.gz
go-tangerine-12f30e6220354c4a8b08ecf41bb53444143f3660.tar.zst
go-tangerine-12f30e6220354c4a8b08ecf41bb53444143f3660.zip
Refactored a lot of the chain catchup/reorg.
Diffstat (limited to 'ethereum.go')
-rw-r--r--ethereum.go4
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