diff options
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 } |