diff options
author | Felix Lange <fjl@twurst.com> | 2016-08-06 05:12:52 +0800 |
---|---|---|
committer | Felix Lange <fjl@twurst.com> | 2016-08-06 05:12:52 +0800 |
commit | e4736fe46938008b7fa88879f728fa81c6ce09e8 (patch) | |
tree | e35578c3a4054c513b9169eb8bd55b47c28ce858 /core | |
parent | 3e3a79ea136325102e63e962c122da5b44cd9bd5 (diff) | |
download | dexon-e4736fe46938008b7fa88879f728fa81c6ce09e8.tar dexon-e4736fe46938008b7fa88879f728fa81c6ce09e8.tar.gz dexon-e4736fe46938008b7fa88879f728fa81c6ce09e8.tar.bz2 dexon-e4736fe46938008b7fa88879f728fa81c6ce09e8.tar.lz dexon-e4736fe46938008b7fa88879f728fa81c6ce09e8.tar.xz dexon-e4736fe46938008b7fa88879f728fa81c6ce09e8.tar.zst dexon-e4736fe46938008b7fa88879f728fa81c6ce09e8.zip |
core/vm: hide ecrecover error message
Fixes #2825
Diffstat (limited to 'core')
-rw-r--r-- | core/vm/contracts.go | 4 |
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 } |