From 3e0cf8779d213555c4b52f3f5650e64883078bf2 Mon Sep 17 00:00:00 2001 From: zelig Date: Mon, 5 Jan 2015 05:54:45 +0000 Subject: [PATCH] clean up debug logger in protocol --- eth/protocol.go | 4 ---- 1 file changed, 4 deletions(-) diff --git a/eth/protocol.go b/eth/protocol.go index 6e072f3765..b67e5aaeab 100644 --- a/eth/protocol.go +++ b/eth/protocol.go @@ -8,13 +8,10 @@ import ( "github.com/ethereum/go-ethereum/core/types" "github.com/ethereum/go-ethereum/ethutil" - ethlogger "github.com/ethereum/go-ethereum/logger" "github.com/ethereum/go-ethereum/p2p" "github.com/ethereum/go-ethereum/rlp" ) -var protologger = ethlogger.NewLogger("ETH") - const ( ProtocolVersion = 51 NetworkId = 0 @@ -143,7 +140,6 @@ func (self *ethProtocol) handle() error { return self.protoError(ErrDecode, "->msg %v: %v", msg, err) } hashes := self.chainManager.GetBlockHashesFromHash(request.Hash, request.Amount) - protologger.Debugf("hashes length %v", len(hashes)) return self.rw.EncodeMsg(BlockHashesMsg, ethutil.ByteSliceToInterface(hashes)...) case BlockHashesMsg: