Skip to content

Commit

Permalink
renamed
Browse files Browse the repository at this point in the history
  • Loading branch information
supreme2580 committed Jul 26, 2024
1 parent 0db9527 commit 80d9376
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/opcodes/opcodes.cairo
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ pub mod Opcode {
157 => not_implemented(ref engine),
158 => not_implemented(ref engine),
159 => not_implemented(ref engine),
160 => opcode_great_than(ref engine),
160 => opcode_greater_than(ref engine),
161 => not_implemented(ref engine),
162 => not_implemented(ref engine),
163 => not_implemented(ref engine),
Expand Down Expand Up @@ -226,7 +226,7 @@ pub mod Opcode {
panic!("Opcode not implemented");
}

fn opcode_great_than(ref engine: Engine) {
fn opcode_greater_than(ref engine: Engine) {
let a = engine.dstack.pop_int();
let b = engine.dstack.pop_int();
engine.dstack.push_int(if b > a {
Expand Down

0 comments on commit 80d9376

Please sign in to comment.