Skip to content

Commit

Permalink
fix constants for opcodes (#318)
Browse files Browse the repository at this point in the history
  • Loading branch information
greged93 authored Oct 17, 2023
1 parent e5fcc25 commit 5c151ff
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pkg/vm/instruction.go
Original file line number Diff line number Diff line change
Expand Up @@ -95,9 +95,9 @@ type Opcode uint

const (
NOp Opcode = 0
AssertEq Opcode = 1
Call Opcode = 2
Ret Opcode = 4
Call Opcode = 1
Ret Opcode = 2
AssertEq Opcode = 4
)

var ErrNonZeroHighBitError = errors.New("Instruction high bit was not set to zero")
Expand Down

0 comments on commit 5c151ff

Please sign in to comment.