From 4e8af66d98747f4e818451098dd747a97339fa89 Mon Sep 17 00:00:00 2001 From: Edgar Date: Mon, 28 Oct 2024 16:18:56 +0100 Subject: [PATCH] minor gas fix (#881) --- src/libfuncs/gas.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/libfuncs/gas.rs b/src/libfuncs/gas.rs index 474fe7443..d1e86b5dc 100644 --- a/src/libfuncs/gas.rs +++ b/src/libfuncs/gas.rs @@ -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, )); @@ -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, ));