diff options
author | obscuren <geffobscura@gmail.com> | 2014-10-15 23:12:26 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2014-10-15 23:12:26 +0800 |
commit | 311c6f8a3fed5ac03ee4b442fd0f420072bc41b4 (patch) | |
tree | de823080f3704d7690fd7172c9742962b66baf3a /ethchain | |
parent | 266d21209478bdb8c89e1ffb95d7f0de34635968 (diff) | |
download | dexon-311c6f8a3fed5ac03ee4b442fd0f420072bc41b4.tar dexon-311c6f8a3fed5ac03ee4b442fd0f420072bc41b4.tar.gz dexon-311c6f8a3fed5ac03ee4b442fd0f420072bc41b4.tar.bz2 dexon-311c6f8a3fed5ac03ee4b442fd0f420072bc41b4.tar.lz dexon-311c6f8a3fed5ac03ee4b442fd0f420072bc41b4.tar.xz dexon-311c6f8a3fed5ac03ee4b442fd0f420072bc41b4.tar.zst dexon-311c6f8a3fed5ac03ee4b442fd0f420072bc41b4.zip |
Fixed remote Arithmetic tests
Diffstat (limited to 'ethchain')
-rw-r--r-- | ethchain/state_transition.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ethchain/state_transition.go b/ethchain/state_transition.go index 10159929b..719e5fd66 100644 --- a/ethchain/state_transition.go +++ b/ethchain/state_transition.go @@ -270,7 +270,8 @@ func (self *StateTransition) Eval(msg *ethstate.Message, script []byte, context callerClosure = ethvm.NewClosure(msg, transactor, context, script, self.gas, self.gasPrice) ) - vm := ethvm.New(env, ethvm.Type(ethutil.Config.VmType)) + //vm := ethvm.New(env, ethvm.Type(ethutil.Config.VmType)) + vm := ethutil.New(env, ethvm.DebugVmTy) ret, _, err = callerClosure.Call(vm, self.tx.Data) |