diff options
author | obscuren <geffobscura@gmail.com> | 2014-10-17 23:14:29 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2014-10-17 23:14:29 +0800 |
commit | 3976b52ed7df94b1a5fe4e4e0853ff73c58460a0 (patch) | |
tree | f119f0758a9bcc63a75593ec8b4584859864cc12 /utils | |
parent | 9e6411db317705dca1b5a6ce1e72909441b89477 (diff) | |
download | dexon-3976b52ed7df94b1a5fe4e4e0853ff73c58460a0.tar.gz dexon-3976b52ed7df94b1a5fe4e4e0853ff73c58460a0.tar.zst dexon-3976b52ed7df94b1a5fe4e4e0853ff73c58460a0.zip |
Updated vm
Diffstat (limited to 'utils')
-rw-r--r-- | utils/vm_env.go | 1 |
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 } |