aboutsummaryrefslogtreecommitdiffstats
path: root/utils
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2014-10-17 23:14:29 +0800
committerobscuren <geffobscura@gmail.com>2014-10-17 23:14:29 +0800
commit3976b52ed7df94b1a5fe4e4e0853ff73c58460a0 (patch)
treef119f0758a9bcc63a75593ec8b4584859864cc12 /utils
parent9e6411db317705dca1b5a6ce1e72909441b89477 (diff)
downloaddexon-3976b52ed7df94b1a5fe4e4e0853ff73c58460a0.tar.gz
dexon-3976b52ed7df94b1a5fe4e4e0853ff73c58460a0.tar.zst
dexon-3976b52ed7df94b1a5fe4e4e0853ff73c58460a0.zip
Updated vm
Diffstat (limited to 'utils')
-rw-r--r--utils/vm_env.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/utils/vm_env.go b/utils/vm_env.go
index 30568c421..585dda9cd 100644
--- a/utils/vm_env.go
+++ b/utils/vm_env.go
@@ -33,3 +33,4 @@ func (self *VMEnv) Difficulty() *big.Int { return self.block.Difficulty }
func (self *VMEnv) BlockHash() []byte { return self.block.Hash() }
func (self *VMEnv) Value() *big.Int { return self.value }
func (self *VMEnv) State() *ethstate.State { return self.state }
+func (self *VMEnv) GasLimit() *big.Int { return self.block.GasLimit }