diff options
author | Péter Szilágyi <peterke@gmail.com> | 2016-06-29 16:44:51 +0800 |
---|---|---|
committer | Péter Szilágyi <peterke@gmail.com> | 2016-06-29 16:44:51 +0800 |
commit | 6362a9d6102b26e926b3e73563267fc75cb30f9c (patch) | |
tree | 56ce21d1aaf6df3908335601a687f0f3ac4a50be /core/execution.go | |
parent | d55fc35df1ca4996048625421d4c475a437d273e (diff) | |
download | go-tangerine-6362a9d6102b26e926b3e73563267fc75cb30f9c.tar.gz go-tangerine-6362a9d6102b26e926b3e73563267fc75cb30f9c.tar.zst go-tangerine-6362a9d6102b26e926b3e73563267fc75cb30f9c.zip |
Revert "test, cmd/evm, core, core/vm: illegal code hash implementation"
This reverts commit 7a5b571c671e70e0e4807cf971c15e2d1e09d33d.
Diffstat (limited to 'core/execution.go')
-rw-r--r-- | core/execution.go | 5 |
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()) |