mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-20 10:52:25 +00:00
Revert "core/vm: check codehash"
This reverts commit e8e45bb7ec.
Signed-off-by: jsvisa <delweng@gmail.com>
This commit is contained in:
parent
e8e45bb7ec
commit
7901d05094
1 changed files with 1 additions and 2 deletions
|
|
@ -20,7 +20,6 @@ import (
|
|||
"math/big"
|
||||
|
||||
"github.com/ethereum/go-ethereum/common"
|
||||
"github.com/ethereum/go-ethereum/core/types"
|
||||
"github.com/holiman/uint256"
|
||||
)
|
||||
|
||||
|
|
@ -107,7 +106,7 @@ func (c *Contract) isCode(udest uint64) bool {
|
|||
// Do we have a contract hash already?
|
||||
// If we do have a hash, that means it's a 'regular' contract. For regular
|
||||
// contracts ( not temporary initcode), we store the analysis in a map
|
||||
if c.CodeHash != types.EmptyCodeHash {
|
||||
if c.CodeHash != (common.Hash{}) {
|
||||
// Does parent context have the analysis?
|
||||
analysis, exist := c.jumpdests[c.CodeHash]
|
||||
if !exist {
|
||||
|
|
|
|||
Loading…
Reference in a new issue