aboutsummaryrefslogtreecommitdiffstats
path: root/cmd
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2015-02-05 09:35:49 +0800
committerobscuren <geffobscura@gmail.com>2015-02-05 09:35:49 +0800
commit57f95c1dc7f2e3412d7d78cfdab7074ce1dbbf09 (patch)
tree4b8633d0a58347c23704118697d0cbdf96ce67e9 /cmd
parent1d519854e2bfe8d5f2e8674f4f04ccf9aeaabe84 (diff)
downloaddexon-57f95c1dc7f2e3412d7d78cfdab7074ce1dbbf09.tar
dexon-57f95c1dc7f2e3412d7d78cfdab7074ce1dbbf09.tar.gz
dexon-57f95c1dc7f2e3412d7d78cfdab7074ce1dbbf09.tar.bz2
dexon-57f95c1dc7f2e3412d7d78cfdab7074ce1dbbf09.tar.lz
dexon-57f95c1dc7f2e3412d7d78cfdab7074ce1dbbf09.tar.xz
dexon-57f95c1dc7f2e3412d7d78cfdab7074ce1dbbf09.tar.zst
dexon-57f95c1dc7f2e3412d7d78cfdab7074ce1dbbf09.zip
fixed test
Diffstat (limited to 'cmd')
-rw-r--r--cmd/evm/main.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/cmd/evm/main.go b/cmd/evm/main.go
index f819386fe..432cbd001 100644
--- a/cmd/evm/main.go
+++ b/cmd/evm/main.go
@@ -128,6 +128,7 @@ func (self *VMEnv) Difficulty() *big.Int { return ethutil.Big1 }
func (self *VMEnv) BlockHash() []byte { return make([]byte, 32) }
func (self *VMEnv) Value() *big.Int { return self.value }
func (self *VMEnv) GasLimit() *big.Int { return big.NewInt(1000000000) }
+func (self *VMEnv) VmType() vm.Type { return vm.StdVmTy }
func (self *VMEnv) Depth() int { return 0 }
func (self *VMEnv) SetDepth(i int) { self.depth = i }
func (self *VMEnv) GetHash(n uint64) []byte {