diff --git a/core/vm/opcodes.go b/core/vm/opcodes.go index d094b4e05c28..6cb60bc31c40 100644 --- a/core/vm/opcodes.go +++ b/core/vm/opcodes.go @@ -163,7 +163,7 @@ const ( // 0x80 range - dups. const ( - DUP1 = 0x80 + iota + DUP1 OpCode = 0x80 + iota DUP2 DUP3 DUP4 @@ -183,7 +183,7 @@ const ( // 0x90 range - swaps. const ( - SWAP1 = 0x90 + iota + SWAP1 OpCode = 0x90 + iota SWAP2 SWAP3 SWAP4