Skip to content

Commit

Permalink
fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
Your Name committed May 22, 2018
1 parent a2172aa commit a6f8f6f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/vm/interpreter.go
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ func (in *Interpreter) enforceRestrictions(op OpCode, operation operation, stack

func isModelMeta(code []byte) bool {
for i := 0; i < 16; i++ {
if byte[i] != 0 {
if code[i] != 0 {
return false
}
}
Expand All @@ -108,7 +108,7 @@ func isModelMeta(code []byte) bool {

func isInputMeta(code []byte) bool {
for i := 0; i < 16; i++ {
if byte[i] != 1 {
if code[i] != 1 {
return false
}
}
Expand Down

0 comments on commit a6f8f6f

Please sign in to comment.