diff options
author | zelig <viktor.tron@gmail.com> | 2014-12-10 07:54:02 +0800 |
---|---|---|
committer | zelig <viktor.tron@gmail.com> | 2014-12-10 22:51:47 +0800 |
commit | 31a9fdced84cdefd17f98f1c6a018cb1ab67ad8a (patch) | |
tree | 21398931d9280d881efcb72b6c9e8e3eeb805378 | |
parent | 47793b606c33e93d9a4295ba4db12165182d9e72 (diff) | |
download | dexon-31a9fdced84cdefd17f98f1c6a018cb1ab67ad8a.tar.gz dexon-31a9fdced84cdefd17f98f1c6a018cb1ab67ad8a.tar.zst dexon-31a9fdced84cdefd17f98f1c6a018cb1ab67ad8a.zip |
no logging in error (to be refactored into p2p)
-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 } |