diff options
Diffstat (limited to 'ethchain/vm_env.go')
-rw-r--r-- | ethchain/vm_env.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ethchain/vm_env.go b/ethchain/vm_env.go index 30f9497fa..4600878d1 100644 --- a/ethchain/vm_env.go +++ b/ethchain/vm_env.go @@ -29,3 +29,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.tx.Value } func (self *VMEnv) State() *ethstate.State { return self.state } +func (self *VMEnv) GasLimit() *big.Int { return self.block.GasLimit } |