diff options
author | obscuren <geffobscura@gmail.com> | 2015-03-01 03:52:10 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2015-03-01 03:52:29 +0800 |
commit | ae45a39dc1cddac885090872cefc6799b4a4c1d9 (patch) | |
tree | 58a36925e67557d24743ccb5fd5072644996dc25 /core/execution.go | |
parent | 7ab13e0f17e9d1b783d93bd4952cc6d7cc77ea7f (diff) | |
download | go-tangerine-ae45a39dc1cddac885090872cefc6799b4a4c1d9.tar.gz go-tangerine-ae45a39dc1cddac885090872cefc6799b4a4c1d9.tar.zst go-tangerine-ae45a39dc1cddac885090872cefc6799b4a4c1d9.zip |
Secure trie
Diffstat (limited to 'core/execution.go')
-rw-r--r-- | core/execution.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/execution.go b/core/execution.go index 5e0cbd37e..f7d5a8945 100644 --- a/core/execution.go +++ b/core/execution.go @@ -61,10 +61,10 @@ func (self *Execution) exec(code, contextAddr []byte, caller vm.ContextRef) (ret snapshot := env.State().Copy() start := time.Now() ret, err = evm.Run(to, caller, code, self.value, self.Gas, self.price, self.input) + chainlogger.Debugf("vm took %v\n", time.Since(start)) if err != nil { env.State().Set(snapshot) } - chainlogger.Debugf("vm took %v\n", time.Since(start)) return } |