aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2014-02-24 19:12:53 +0800
committerobscuren <geffobscura@gmail.com>2014-02-24 19:12:53 +0800
commit22e2c3429bee515f69250dfdddc419a389e8ccd6 (patch)
tree283d12b0f545aab9d9a1dbb33e6eac849a40f431
parent4cc5b03137e513dd54e9feb07a564398ca53b342 (diff)
downloaddexon-22e2c3429bee515f69250dfdddc419a389e8ccd6.tar.gz
dexon-22e2c3429bee515f69250dfdddc419a389e8ccd6.tar.zst
dexon-22e2c3429bee515f69250dfdddc419a389e8ccd6.zip
Infof rather than infoln
-rw-r--r--peer.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/peer.go b/peer.go
index 9538e6500..a8708206f 100644
--- a/peer.go
+++ b/peer.go
@@ -390,7 +390,7 @@ func (p *Peer) HandleInbound() {
p.QueueMessage(ethwire.NewMessage(ethwire.MsgNotInChainTy, []interface{}{lastHash.Raw()}))
}
case ethwire.MsgNotInChainTy:
- ethutil.Config.Log.Infoln("Not in chain %x\n", msg.Data)
+ ethutil.Config.Log.Infof("Not in chain %x\n", msg.Data)
// TODO
// Unofficial but fun nonetheless
@@ -556,7 +556,7 @@ func (p *Peer) CatchupWithPeer() {
msg := ethwire.NewMessage(ethwire.MsgGetChainTy, []interface{}{p.ethereum.BlockManager.BlockChain().CurrentBlock.Hash(), uint64(50)})
p.QueueMessage(msg)
- ethutil.Config.Log.Debugln("Requesting blockchain %x...\n", p.ethereum.BlockManager.BlockChain().CurrentBlock.Hash()[:4])
+ ethutil.Config.Log.Debugf("Requesting blockchain %x...\n", p.ethereum.BlockManager.BlockChain().CurrentBlock.Hash()[:4])
}
}