From 31a9fdced84cdefd17f98f1c6a018cb1ab67ad8a Mon Sep 17 00:00:00 2001 From: zelig Date: Tue, 9 Dec 2014 23:54:02 +0000 Subject: [PATCH] no logging in error (to be refactored into p2p) --- eth/error.go | 6 ------ 1 file changed, 6 deletions(-) diff --git a/eth/error.go b/eth/error.go index cb4459435..9355d6457 100644 --- a/eth/error.go +++ b/eth/error.go @@ -2,7 +2,6 @@ package eth import ( "fmt" - // "github.com/ethereum/go-ethereum/logger" ) const ( @@ -45,11 +44,6 @@ func newProtocolError(code int, format string, params ...interface{}) *protocolE func ProtocolError(code int, format string, params ...interface{}) (err *protocolError) { err = newProtocolError(code, format, params...) // report(err) - if err.Fatal() { - logger.Errorln(err) - } else { - logger.Debugln(err) - } return }