Fixed some state issues

This commit is contained in:
obscuren
2014-03-31 01:03:28 +02:00
parent 7cc28c8b46
commit 7277c42047
4 changed files with 7 additions and 6 deletions

View File

@ -115,6 +115,8 @@ func (vm *Vm) RunClosure(closure *Closure) []byte {
}
if closure.Gas.Cmp(gas) < 0 {
ethutil.Config.Log.Debugln("Insufficient gas", closure.Gas, gas)
return closure.Return(nil)
}