aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2014-12-04 19:35:23 +0800
committerobscuren <geffobscura@gmail.com>2014-12-04 19:35:23 +0800
commit3043b233ea4df9b630638d75f3589b94653ccfa9 (patch)
tree8e426de17ebd46bcbd830abb78af58dd4035206c /tests
parentbff5999efaaa0aa7a2b6518b58d489ad4be9e4ff (diff)
downloaddexon-3043b233ea4df9b630638d75f3589b94653ccfa9.tar
dexon-3043b233ea4df9b630638d75f3589b94653ccfa9.tar.gz
dexon-3043b233ea4df9b630638d75f3589b94653ccfa9.tar.bz2
dexon-3043b233ea4df9b630638d75f3589b94653ccfa9.tar.lz
dexon-3043b233ea4df9b630638d75f3589b94653ccfa9.tar.xz
dexon-3043b233ea4df9b630638d75f3589b94653ccfa9.tar.zst
dexon-3043b233ea4df9b630638d75f3589b94653ccfa9.zip
Log is now interface
Diffstat (limited to 'tests')
-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 f32f98694..0c77e87fb 100644
--- a/tests/helper/vm.go
+++ b/tests/helper/vm.go
@@ -57,7 +57,7 @@ func (self *Env) Difficulty() *big.Int { return self.difficulty }
func (self *Env) BlockHash() []byte { return nil }
func (self *Env) State() *state.StateDB { return self.state }
func (self *Env) GasLimit() *big.Int { return self.gasLimit }
-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 }