diff options
author | obscuren <geffobscura@gmail.com> | 2014-06-13 22:06:27 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2014-06-13 22:06:27 +0800 |
commit | 81245473486dd680b7121d4b227ca8a57d07b4b1 (patch) | |
tree | 0462828a95c3c1af684dc32fdcc15b26772fe762 /peer.go | |
parent | c734dde982c4ce778afa074e94efb09e552dbd84 (diff) | |
download | dexon-81245473486dd680b7121d4b227ca8a57d07b4b1.tar dexon-81245473486dd680b7121d4b227ca8a57d07b4b1.tar.gz dexon-81245473486dd680b7121d4b227ca8a57d07b4b1.tar.bz2 dexon-81245473486dd680b7121d4b227ca8a57d07b4b1.tar.lz dexon-81245473486dd680b7121d4b227ca8a57d07b4b1.tar.xz dexon-81245473486dd680b7121d4b227ca8a57d07b4b1.tar.zst dexon-81245473486dd680b7121d4b227ca8a57d07b4b1.zip |
Moving a head closer to interop
Diffstat (limited to 'peer.go')
-rw-r--r-- | peer.go | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -402,7 +402,7 @@ func (p *Peer) HandleInbound() { if err != nil { // If the parent is unknown try to catch up with this peer if ethchain.IsParentErr(err) { - ethutil.Config.Log.Infoln("Attempting to catch up since we don't know the parent") + ethutil.Config.Log.Infoln("Attempting to catch. Parent known") p.catchingUp = false p.CatchupWithPeer(p.ethereum.BlockChain().CurrentBlock.Hash()) } else if ethchain.IsValidationErr(err) { @@ -414,7 +414,7 @@ func (p *Peer) HandleInbound() { if p.catchingUp && msg.Data.Len() > 1 { if lastBlock != nil { blockInfo := lastBlock.BlockInfo() - ethutil.Config.Log.Debugf("Synced to block height #%d %x %x\n", blockInfo.Number, lastBlock.Hash(), blockInfo.Hash) + ethutil.Config.Log.Debugf("Synced chain to #%d %x %x\n", blockInfo.Number, lastBlock.Hash(), blockInfo.Hash) } p.catchingUp = false |