diff options
author | obscuren <geffobscura@gmail.com> | 2015-01-13 21:57:51 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2015-01-13 21:57:51 +0800 |
commit | 82beaabf6a8b5a146a38e1d6a31a78157c79a0cf (patch) | |
tree | 7fb0dca9275c17e81fb381b749d46a4ad43bc324 /vm | |
parent | e3cad04decbbc83a0c956850717cb0ae0b2b3eec (diff) | |
download | go-tangerine-82beaabf6a8b5a146a38e1d6a31a78157c79a0cf.tar go-tangerine-82beaabf6a8b5a146a38e1d6a31a78157c79a0cf.tar.gz go-tangerine-82beaabf6a8b5a146a38e1d6a31a78157c79a0cf.tar.bz2 go-tangerine-82beaabf6a8b5a146a38e1d6a31a78157c79a0cf.tar.lz go-tangerine-82beaabf6a8b5a146a38e1d6a31a78157c79a0cf.tar.xz go-tangerine-82beaabf6a8b5a146a38e1d6a31a78157c79a0cf.tar.zst go-tangerine-82beaabf6a8b5a146a38e1d6a31a78157c79a0cf.zip |
Fixed consensus issue
Diffstat (limited to 'vm')
-rw-r--r-- | vm/vm_debug.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vm/vm_debug.go b/vm/vm_debug.go index 255faefb0..5949ea5d9 100644 --- a/vm/vm_debug.go +++ b/vm/vm_debug.go @@ -663,8 +663,8 @@ func (self *DebugVm) Run(me, caller ContextRef, code []byte, value, gas, price * context.UseGas(context.Gas) - ret, err, ref := self.env.Create(context, addr, input, gas, price, value) - if err != nil { + ret, suberr, ref := self.env.Create(context, addr, input, gas, price, value) + if suberr != nil { stack.Push(ethutil.BigFalse) self.Printf("CREATE err %v", err) |