aboutsummaryrefslogtreecommitdiffstats
path: root/tests/helper/vm.go
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2015-04-09 02:45:39 +0800
committerobscuren <geffobscura@gmail.com>2015-04-09 02:45:39 +0800
commita7750c929b926d164195fd4f7a7e2b4642c66173 (patch)
tree81c104392bfa148e3c8cfc764eb9e152ff64c408 /tests/helper/vm.go
parentf08e9cbe42dcb067affe0ca1077285ba1b583c95 (diff)
downloaddexon-a7750c929b926d164195fd4f7a7e2b4642c66173.tar
dexon-a7750c929b926d164195fd4f7a7e2b4642c66173.tar.gz
dexon-a7750c929b926d164195fd4f7a7e2b4642c66173.tar.bz2
dexon-a7750c929b926d164195fd4f7a7e2b4642c66173.tar.lz
dexon-a7750c929b926d164195fd4f7a7e2b4642c66173.tar.xz
dexon-a7750c929b926d164195fd4f7a7e2b4642c66173.tar.zst
dexon-a7750c929b926d164195fd4f7a7e2b4642c66173.zip
Fixed tests to reflect log changes
Diffstat (limited to 'tests/helper/vm.go')
-rw-r--r--tests/helper/vm.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/helper/vm.go b/tests/helper/vm.go
index 9f62ada95..fb3fb40a5 100644
--- a/tests/helper/vm.go
+++ b/tests/helper/vm.go
@@ -66,7 +66,7 @@ func (self *Env) VmType() vm.Type { return vm.StdVmTy }
func (self *Env) GetHash(n uint64) common.Hash {
return common.BytesToHash(crypto.Sha3([]byte(big.NewInt(int64(n)).String())))
}
-func (self *Env) AddLog(log state.Log) {
+func (self *Env) AddLog(log *state.Log) {
self.logs = append(self.logs, log)
}
func (self *Env) Depth() int { return self.depth }