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 b86f33614..b52c7db42 100644
--- a/eth/protocol.go
+++ b/eth/protocol.go
@@ -256,7 +256,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{