diff options
author | obscuren <geffobscura@gmail.com> | 2015-04-09 02:45:39 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2015-04-09 02:45:39 +0800 |
commit | a7750c929b926d164195fd4f7a7e2b4642c66173 (patch) | |
tree | 81c104392bfa148e3c8cfc764eb9e152ff64c408 /tests/helper/vm.go | |
parent | f08e9cbe42dcb067affe0ca1077285ba1b583c95 (diff) | |
download | dexon-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.go | 2 |
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 } |