aboutsummaryrefslogtreecommitdiffstats
path: root/vm
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2014-12-04 19:09:22 +0800
committerobscuren <geffobscura@gmail.com>2014-12-04 19:09:22 +0800
commitbff5999efaaa0aa7a2b6518b58d489ad4be9e4ff (patch)
tree755e0df7df999ddece25479a8292d4b5cc55573e /vm
parentf298ffdbb8ec2b14f254e880a65f22f4d7c66305 (diff)
downloadgo-tangerine-bff5999efaaa0aa7a2b6518b58d489ad4be9e4ff.tar.gz
go-tangerine-bff5999efaaa0aa7a2b6518b58d489ad4be9e4ff.tar.zst
go-tangerine-bff5999efaaa0aa7a2b6518b58d489ad4be9e4ff.zip
sort tests for evm
Diffstat (limited to 'vm')
-rw-r--r--vm/vm_debug.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/vm/vm_debug.go b/vm/vm_debug.go
index b189a1cd1..62b1f121c 100644
--- a/vm/vm_debug.go
+++ b/vm/vm_debug.go
@@ -35,7 +35,7 @@ func NewDebugVm(env Environment) *DebugVm {
lt = LogTyDiff
}
- return &DebugVm{env: env, logTy: lt, Recoverable: true}
+ return &DebugVm{env: env, logTy: lt, Recoverable: false}
}
func (self *DebugVm) Run(me, caller ClosureRef, code []byte, value, gas, price *big.Int, callData []byte) (ret []byte, err error) {
@@ -631,7 +631,7 @@ func (self *DebugVm) Run(me, caller ClosureRef, code []byte, value, gas, price *
mem.Set(mOff, l, code)
- self.Printf(" => [%v, %v, %v] %x", mOff, cOff, l, code[cOff:cOff+l])
+ self.Printf(" => [%v, %v, %v] %x", mOff, cOff, l, callData[cOff:cOff+l])
case CODESIZE, EXTCODESIZE:
var code []byte
if op == EXTCODESIZE {