aboutsummaryrefslogtreecommitdiffstats
path: root/eth
diff options
context:
space:
mode:
authorzelig <viktor.tron@gmail.com>2014-12-10 07:54:02 +0800
committerzelig <viktor.tron@gmail.com>2014-12-15 04:27:05 +0800
commiteb5cb04aa991d59a6597479fbddf5dec51093ed6 (patch)
tree36fef6f6b0ed5d0cfd33ae6a7981f87619c49371 /eth
parente5aa38cb0f846cde3e0d70e751cfa6d53a889e99 (diff)
downloaddexon-eb5cb04aa991d59a6597479fbddf5dec51093ed6.tar
dexon-eb5cb04aa991d59a6597479fbddf5dec51093ed6.tar.gz
dexon-eb5cb04aa991d59a6597479fbddf5dec51093ed6.tar.bz2
dexon-eb5cb04aa991d59a6597479fbddf5dec51093ed6.tar.lz
dexon-eb5cb04aa991d59a6597479fbddf5dec51093ed6.tar.xz
dexon-eb5cb04aa991d59a6597479fbddf5dec51093ed6.tar.zst
dexon-eb5cb04aa991d59a6597479fbddf5dec51093ed6.zip
no logging in error (to be refactored into p2p)
Diffstat (limited to 'eth')
-rw-r--r--eth/error.go6
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
}