aboutsummaryrefslogtreecommitdiffstats
path: root/utils
diff options
context:
space:
mode:
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 }