diff options
author | Felix Lange <fjl@users.noreply.github.com> | 2017-07-19 20:32:45 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-07-19 20:32:45 +0800 |
commit | 3e0dbe0eaa723580a86a6a2f18ab744387d4235e (patch) | |
tree | 73b59c17c2c69be82c1af8ea5399706e0fcd993e /core/vm/contracts.go | |
parent | 1802682f65655a69cb17c21113100bac16539192 (diff) | |
download | go-tangerine-3e0dbe0eaa723580a86a6a2f18ab744387d4235e.tar go-tangerine-3e0dbe0eaa723580a86a6a2f18ab744387d4235e.tar.gz go-tangerine-3e0dbe0eaa723580a86a6a2f18ab744387d4235e.tar.bz2 go-tangerine-3e0dbe0eaa723580a86a6a2f18ab744387d4235e.tar.lz go-tangerine-3e0dbe0eaa723580a86a6a2f18ab744387d4235e.tar.xz go-tangerine-3e0dbe0eaa723580a86a6a2f18ab744387d4235e.tar.zst go-tangerine-3e0dbe0eaa723580a86a6a2f18ab744387d4235e.zip |
core/vm: remove logging and add section labels to struct logs (#14782)
Diffstat (limited to 'core/vm/contracts.go')
-rw-r--r-- | core/vm/contracts.go | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/core/vm/contracts.go b/core/vm/contracts.go index 90b2f913e..43b60ba77 100644 --- a/core/vm/contracts.go +++ b/core/vm/contracts.go @@ -23,7 +23,6 @@ import ( "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/crypto" - "github.com/ethereum/go-ethereum/log" "github.com/ethereum/go-ethereum/params" "golang.org/x/crypto/ripemd160" ) @@ -76,14 +75,12 @@ func (c *ecrecover) Run(in []byte) ([]byte, error) { // tighter sig s values in homestead only apply to tx sigs if !allZero(in[32:63]) || !crypto.ValidateSignatureValues(v, r, s, false) { - log.Trace("ECRECOVER error: v, r or s value invalid") return nil, nil } // v needs to be at the end for libsecp256k1 pubKey, err := crypto.Ecrecover(in[:32], append(in[64:128], v)) // make sure the public key is a valid one if err != nil { - log.Trace("ECRECOVER failed", "err", err) return nil, nil } |