aboutsummaryrefslogtreecommitdiffstats
path: root/eth
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2015-03-06 17:22:40 +0800
committerobscuren <geffobscura@gmail.com>2015-03-06 17:22:40 +0800
commit23ad2f02c0992c212d7d179991560eb44f1b1f78 (patch)
tree534c2139cb72e37852f5fc20be15ccd5367e7a32 /eth
parent580d09084d85c3c99a1f69fd4fc6ce9079e30065 (diff)
downloadgo-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')
-rw-r--r--eth/protocol.go3
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{