diff options
author | obscuren <geffobscura@gmail.com> | 2014-12-04 19:35:23 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2014-12-04 19:35:23 +0800 |
commit | 3043b233ea4df9b630638d75f3589b94653ccfa9 (patch) | |
tree | 8e426de17ebd46bcbd830abb78af58dd4035206c /tests/helper | |
parent | bff5999efaaa0aa7a2b6518b58d489ad4be9e4ff (diff) | |
download | go-tangerine-3043b233ea4df9b630638d75f3589b94653ccfa9.tar.gz go-tangerine-3043b233ea4df9b630638d75f3589b94653ccfa9.tar.zst go-tangerine-3043b233ea4df9b630638d75f3589b94653ccfa9.zip |
Log is now interface
Diffstat (limited to 'tests/helper')
-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 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 } |