Upped protocol version for VM change

This commit is contained in:
obscuren
2014-09-18 01:02:15 +02:00
parent b3834d8272
commit f3a93b046e
5 changed files with 118 additions and 89 deletions
+1 -2
View File
@@ -872,8 +872,7 @@ func (self *Vm) RunClosure(closure *Closure) (ret []byte, err error) {
default:
vmlogger.Debugf("(pc) %-3v Invalid opcode %x\n", pc, op)
// XXX Really?
closure.UseGas(closure.Gas)
//panic(fmt.Sprintf("Invalid opcode %x", op))
return closure.Return(nil), fmt.Errorf("Invalid opcode %x", op)
}