[release/1.4.15] cmd, core, internal, light, tests: avoid hashing the code in the VM

(cherry picked from commit cb84e3f029)
This commit is contained in:
Péter Szilágyi
2016-10-01 15:44:53 +03:00
parent 968ab8aa4f
commit f1949f4d99
16 changed files with 58 additions and 36 deletions

View File

@ -30,7 +30,7 @@ type dummyContractRef struct {
func (dummyContractRef) ReturnGas(*big.Int, *big.Int) {}
func (dummyContractRef) Address() common.Address { return common.Address{} }
func (dummyContractRef) Value() *big.Int { return new(big.Int) }
func (dummyContractRef) SetCode([]byte) {}
func (dummyContractRef) SetCode(common.Hash, []byte) {}
func (d *dummyContractRef) ForEachStorage(callback func(key, value common.Hash) bool) {
d.calledForEach = true
}