aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFelix Lange <fjl@twurst.com>2016-08-06 05:19:10 +0800
committerGitHub <noreply@github.com>2016-08-06 05:19:10 +0800
commit4f65227971bd63b409f625dde074c5bd0893e775 (patch)
treea5ee8b132596bc6480438b0c63129e06777f7c37
parentd445a9aafb487b8ab670511c62dc032e94b3c074 (diff)
parente4736fe46938008b7fa88879f728fa81c6ce09e8 (diff)
downloaddexon-4f65227971bd63b409f625dde074c5bd0893e775.tar
dexon-4f65227971bd63b409f625dde074c5bd0893e775.tar.gz
dexon-4f65227971bd63b409f625dde074c5bd0893e775.tar.bz2
dexon-4f65227971bd63b409f625dde074c5bd0893e775.tar.lz
dexon-4f65227971bd63b409f625dde074c5bd0893e775.tar.xz
dexon-4f65227971bd63b409f625dde074c5bd0893e775.tar.zst
dexon-4f65227971bd63b409f625dde074c5bd0893e775.zip
Merge pull request #2892 from fjl/vm-hide-ecrecover-message
core/vm: hide ecrecover error message
-rw-r--r--core/vm/contracts.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/vm/contracts.go b/core/vm/contracts.go
index 5cc9f903b..b45f14724 100644
--- a/core/vm/contracts.go
+++ b/core/vm/contracts.go
@@ -95,7 +95,7 @@ func ecrecoverFunc(in []byte) []byte {
// tighter sig s values in homestead only apply to tx sigs
if !crypto.ValidateSignatureValues(v, r, s, false) {
- glog.V(logger.Debug).Infof("EC RECOVER FAIL: v, r or s value invalid")
+ glog.V(logger.Detail).Infof("ECRECOVER error: v, r or s value invalid")
return nil
}
@@ -106,7 +106,7 @@ func ecrecoverFunc(in []byte) []byte {
pubKey, err := crypto.Ecrecover(in[:32], rsv)
// make sure the public key is a valid one
if err != nil {
- glog.V(logger.Error).Infof("EC RECOVER FAIL: ", err)
+ glog.V(logger.Detail).Infoln("ECRECOVER error: ", err)
return nil
}