diff options
author | obscuren <geffobscura@gmail.com> | 2015-03-06 17:22:40 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2015-03-06 17:22:40 +0800 |
commit | 23ad2f02c0992c212d7d179991560eb44f1b1f78 (patch) | |
tree | 534c2139cb72e37852f5fc20be15ccd5367e7a32 /eth/protocol.go | |
parent | 580d09084d85c3c99a1f69fd4fc6ce9079e30065 (diff) | |
download | go-tangerine-23ad2f02c0992c212d7d179991560eb44f1b1f78.tar go-tangerine-23ad2f02c0992c212d7d179991560eb44f1b1f78.tar.gz go-tangerine-23ad2f02c0992c212d7d179991560eb44f1b1f78.tar.bz2 go-tangerine-23ad2f02c0992c212d7d179991560eb44f1b1f78.tar.lz go-tangerine-23ad2f02c0992c212d7d179991560eb44f1b1f78.tar.xz go-tangerine-23ad2f02c0992c212d7d179991560eb44f1b1f78.tar.zst go-tangerine-23ad2f02c0992c212d7d179991560eb44f1b1f78.zip |
debug comments & pow handling
Diffstat (limited to 'eth/protocol.go')
-rw-r--r-- | eth/protocol.go | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/eth/protocol.go b/eth/protocol.go index b52c7db42..b9b485292 100644 --- a/eth/protocol.go +++ b/eth/protocol.go @@ -253,10 +253,9 @@ func (self *ethProtocol) handle() error { case NewBlockMsg: var request newBlockMsgData if err := msg.Decode(&request); err != nil { - return self.protoError(ErrDecode, "msg %v: %v", msg, err) + return self.protoError(ErrDecode, "%v: %v", msg, err) } hash := request.Block.Hash() - fmt.Printf("received block: %x\n", hash) _, chainHead, _ := self.chainManager.Status() jsonlogger.LogJson(&logger.EthChainReceivedNewBlock{ |