aboutsummaryrefslogtreecommitdiffstats
path: root/ethvm
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2014-09-18 07:02:15 +0800
committerobscuren <geffobscura@gmail.com>2014-09-18 07:02:15 +0800
commitf3a93b046e45a293b673a955959666ec5389c4eb (patch)
treed6333c86cbe89aaaa1df0cec346b4c969966f1fb /ethvm
parentb3834d8272915d6b96d69a91ad6b9f994b29e891 (diff)
downloadgo-tangerine-f3a93b046e45a293b673a955959666ec5389c4eb.tar.gz
go-tangerine-f3a93b046e45a293b673a955959666ec5389c4eb.tar.zst
go-tangerine-f3a93b046e45a293b673a955959666ec5389c4eb.zip
Upped protocol version for VM change
Diffstat (limited to 'ethvm')
-rw-r--r--ethvm/vm.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/ethvm/vm.go b/ethvm/vm.go
index 2a4fddbc5..f1c23b370 100644
--- a/ethvm/vm.go
+++ b/ethvm/vm.go
@@ -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)
}