diff options
Diffstat (limited to 'eth/error.go')
-rw-r--r-- | eth/error.go | 6 |
1 files changed, 0 insertions, 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 } |