aboutsummaryrefslogtreecommitdiffstats
path: root/eth/protocol.go
diff options
context:
space:
mode:
Diffstat (limited to 'eth/protocol.go')
-rw-r--r--eth/protocol.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/eth/protocol.go b/eth/protocol.go
index 663af43fe..c887af129 100644
--- a/eth/protocol.go
+++ b/eth/protocol.go
@@ -250,7 +250,7 @@ func (self *ethProtocol) handle() error {
return self.protoError(ErrDecode, "msg %v: %v", msg, err)
}
hash := request.Block.Hash()
- fmt.Println("received block: %x", hash)
+ fmt.Printf("received block: %x\n", hash)
_, chainHead, _ := self.chainManager.Status()
jsonlogger.LogJson(&logger.EthChainReceivedNewBlock{