This commit is contained in:
obscuren
2015-02-26 18:39:05 +01:00
parent a1c830cd3c
commit 37e6870f64
6 changed files with 29 additions and 16 deletions

View File

@ -54,6 +54,8 @@ func (self *Vm) Run(me, caller ContextRef, code []byte, value, gas, price *big.I
err = fmt.Errorf("%v", r)
} else {
fmt.Println(me.(*state.StateObject).Storage())
}
}()
}
@ -727,7 +729,7 @@ func (self *Vm) Run(me, caller ContextRef, code []byte, value, gas, price *big.I
self.Printf(" => (%x) %v", receiver.Address()[:4], balance)
receiver.AddAmount(balance)
receiver.AddBalance(balance)
statedb.Delete(context.Address())
fallthrough