From 3976b52ed7df94b1a5fe4e4e0853ff73c58460a0 Mon Sep 17 00:00:00 2001 From: obscuren Date: Fri, 17 Oct 2014 17:14:29 +0200 Subject: Updated vm --- utils/vm_env.go | 1 + 1 file changed, 1 insertion(+) (limited to 'utils/vm_env.go') 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 } -- cgit v1.2.3