no logging in error (to be refactored into p2p)

This commit is contained in:
zelig 2014-12-09 23:54:02 +00:00
parent e5aa38cb0f
commit eb5cb04aa9

@ -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
}