From ae45a39dc1cddac885090872cefc6799b4a4c1d9 Mon Sep 17 00:00:00 2001 From: obscuren Date: Sat, 28 Feb 2015 20:52:10 +0100 Subject: Secure trie --- core/execution.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core/execution.go') 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 } -- cgit