Commit eb5cb04a authored by zelig's avatar zelig

no logging in error (to be refactored into p2p)

parent e5aa38cb
......@@ -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
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment