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 /cmd/utils | |
parent | bff5999efaaa0aa7a2b6518b58d489ad4be9e4ff (diff) | |
download | dexon-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 'cmd/utils')
-rw-r--r-- | cmd/utils/vm_env.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/utils/vm_env.go b/cmd/utils/vm_env.go index e12fe805d..eb52602c4 100644 --- a/cmd/utils/vm_env.go +++ b/cmd/utils/vm_env.go @@ -41,7 +41,7 @@ func (self *VMEnv) State() *state.StateDB { return self.state } func (self *VMEnv) GasLimit() *big.Int { return self.block.GasLimit } func (self *VMEnv) Depth() int { return self.depth } func (self *VMEnv) SetDepth(i int) { self.depth = i } -func (self *VMEnv) AddLog(log *state.Log) { +func (self *VMEnv) AddLog(log state.Log) { self.state.AddLog(log) } func (self *VMEnv) Transfer(from, to vm.Account, amount *big.Int) error { |