aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMeng-Ying Yang <garfield@dexon.org>2019-05-09 11:19:50 +0800
committerMeng-Ying Yang <garfield@dexon.org>2019-05-09 15:15:23 +0800
commit278f4f58b53a34e5c886720449b58dc2ca8842bc (patch)
treee9d5dd0dd83bfe46e79b1ec348b38c5d2950d6c3
parentbf103451425a0f7a986ff6dd1e2b7d1e478bd948 (diff)
downloaddexon-278f4f58b53a34e5c886720449b58dc2ca8842bc.tar.gz
dexon-278f4f58b53a34e5c886720449b58dc2ca8842bc.tar.zst
dexon-278f4f58b53a34e5c886720449b58dc2ca8842bc.zip
core: vm: sqlvm: fix untyped enum
-rw-r--r--core/vm/sqlvm/runtime/opcodes.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/vm/sqlvm/runtime/opcodes.go b/core/vm/sqlvm/runtime/opcodes.go
index e65565670..cd884350a 100644
--- a/core/vm/sqlvm/runtime/opcodes.go
+++ b/core/vm/sqlvm/runtime/opcodes.go
@@ -53,12 +53,12 @@ const (
// 0x50 range - function ops
const (
- FUNC = iota + 0x50
+ FUNC OpCode = iota + 0x50
)
// 0x60 range - storage ops
const (
- INSERT = iota + 0x60
+ INSERT OpCode = iota + 0x60
UPDATE
LOAD
DELETE