aboutsummaryrefslogtreecommitdiffstats
path: root/core/execution.go
diff options
context:
space:
mode:
Diffstat (limited to 'core/execution.go')
-rw-r--r--core/execution.go5
1 files changed, 0 insertions, 5 deletions
diff --git a/core/execution.go b/core/execution.go
index ec04f6140..82143443c 100644
--- a/core/execution.go
+++ b/core/execution.go
@@ -85,11 +85,6 @@ func exec(env vm.Environment, caller vm.ContractRef, address, codeAddr *common.A
createAccount = true
}
- // mark the code hash if the execution is a call, callcode or delegate.
- if value.Cmp(common.Big0) > 0 {
- env.MarkCodeHash(env.Db().GetCodeHash(caller.Address()))
- }
-
snapshotPreTransfer := env.MakeSnapshot()
var (
from = env.Db().GetAccount(caller.Address())