Fixed consensus issue

This commit is contained in:
obscuren
2015-01-13 14:57:51 +01:00
parent e3cad04dec
commit 82beaabf6a
4 changed files with 4 additions and 6 deletions

View File

@ -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)