aboutsummaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2015-03-01 03:52:10 +0800
committerobscuren <geffobscura@gmail.com>2015-03-01 03:52:29 +0800
commitae45a39dc1cddac885090872cefc6799b4a4c1d9 (patch)
tree58a36925e67557d24743ccb5fd5072644996dc25 /core
parent7ab13e0f17e9d1b783d93bd4952cc6d7cc77ea7f (diff)
downloaddexon-ae45a39dc1cddac885090872cefc6799b4a4c1d9.tar.gz
dexon-ae45a39dc1cddac885090872cefc6799b4a4c1d9.tar.zst
dexon-ae45a39dc1cddac885090872cefc6799b4a4c1d9.zip
Secure trie
Diffstat (limited to 'core')
-rw-r--r--core/execution.go2
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
}