Miner fixes and updates (including miner)

This commit is contained in:
obscuren
2015-03-05 09:14:58 +01:00
parent 15f491e500
commit c47866d251
10 changed files with 45 additions and 32 deletions

View File

@ -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{