diff options
author | obscuren <geffobscura@gmail.com> | 2015-06-10 16:59:44 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2015-06-10 16:59:44 +0800 |
commit | ff5b3ef0877978699235d20b3caa9890b35ec6f8 (patch) | |
tree | 6110d396ae29f4462fe516efa26feacd5852f55f /core/execution.go | |
parent | 468501cb860508af55e1fcd586e1498df0a2d984 (diff) | |
download | dexon-ff5b3ef0877978699235d20b3caa9890b35ec6f8.tar dexon-ff5b3ef0877978699235d20b3caa9890b35ec6f8.tar.gz dexon-ff5b3ef0877978699235d20b3caa9890b35ec6f8.tar.bz2 dexon-ff5b3ef0877978699235d20b3caa9890b35ec6f8.tar.lz dexon-ff5b3ef0877978699235d20b3caa9890b35ec6f8.tar.xz dexon-ff5b3ef0877978699235d20b3caa9890b35ec6f8.tar.zst dexon-ff5b3ef0877978699235d20b3caa9890b35ec6f8.zip |
core/vm: added structured logging
Diffstat (limited to 'core/execution.go')
-rw-r--r-- | core/execution.go | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/core/execution.go b/core/execution.go index 522c90449..9fb0210de 100644 --- a/core/execution.go +++ b/core/execution.go @@ -2,7 +2,6 @@ package core import ( "math/big" - "time" "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/core/state" @@ -49,8 +48,6 @@ func (self *Execution) Create(caller vm.ContextRef) (ret []byte, err error, acco } func (self *Execution) exec(contextAddr *common.Address, code []byte, caller vm.ContextRef) (ret []byte, err error) { - start := time.Now() - env := self.env evm := self.evm if env.Depth() > int(params.CallCreateDepth.Int64()) { @@ -96,7 +93,6 @@ func (self *Execution) exec(contextAddr *common.Address, code []byte, caller vm. context.SetCallCode(contextAddr, code) ret, err = evm.Run(context, self.input) - evm.Printf("message call took %v", time.Since(start)).Endl() if err != nil { env.State().Set(snapshot) } |