Skip to content

Commit

Permalink
minor gas fix (#881)
Browse files Browse the repository at this point in the history
  • Loading branch information
edg-l authored Oct 28, 2024
1 parent a628b24 commit 4e8af66
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/libfuncs/gas.rs
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ pub fn build_withdraw_gas<'ctx, 'this>(
context,
is_enough,
[0, 1],
[&[range_check, resulting_gas]; 2],
[&[range_check, resulting_gas], &[range_check, current_gas]],
location,
));

Expand Down Expand Up @@ -148,7 +148,7 @@ pub fn build_builtin_withdraw_gas<'ctx, 'this>(
context,
is_enough,
[0, 1],
[&[range_check, resulting_gas]; 2],
[&[range_check, resulting_gas], &[range_check, current_gas]],
location,
));

Expand Down

0 comments on commit 4e8af66

Please sign in to comment.