aboutsummaryrefslogtreecommitdiffstats
path: root/core/vm/logger_test.go
diff options
context:
space:
mode:
authorPéter Szilágyi <peterke@gmail.com>2016-10-01 20:44:53 +0800
committerPéter Szilágyi <peterke@gmail.com>2016-10-01 21:01:58 +0800
commitcb84e3f02953f2df166ae69369d222dcbbd7d78d (patch)
tree68eb52c91a136e820f3656e394847c4e695afa63 /core/vm/logger_test.go
parentd8715fba1a366944a069397775fc52a30358eff3 (diff)
downloaddexon-cb84e3f02953f2df166ae69369d222dcbbd7d78d.tar
dexon-cb84e3f02953f2df166ae69369d222dcbbd7d78d.tar.gz
dexon-cb84e3f02953f2df166ae69369d222dcbbd7d78d.tar.bz2
dexon-cb84e3f02953f2df166ae69369d222dcbbd7d78d.tar.lz
dexon-cb84e3f02953f2df166ae69369d222dcbbd7d78d.tar.xz
dexon-cb84e3f02953f2df166ae69369d222dcbbd7d78d.tar.zst
dexon-cb84e3f02953f2df166ae69369d222dcbbd7d78d.zip
cmd, core, internal, light, tests: avoid hashing the code in the VM
Diffstat (limited to 'core/vm/logger_test.go')
-rw-r--r--core/vm/logger_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/vm/logger_test.go b/core/vm/logger_test.go
index e85bca227..d4d164eb6 100644
--- a/core/vm/logger_test.go
+++ b/core/vm/logger_test.go
@@ -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
}