From 50de98fcc720a09316af37f328f5e8d0987ed2d2 Mon Sep 17 00:00:00 2001 From: LHerskind Date: Fri, 7 Jul 2023 10:34:10 +0000 Subject: [PATCH] fix: is_internal name --- crates/noirc_driver/src/lib.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/noirc_driver/src/lib.rs b/crates/noirc_driver/src/lib.rs index f077792c4a9..f70b0e4ca66 100644 --- a/crates/noirc_driver/src/lib.rs +++ b/crates/noirc_driver/src/lib.rs @@ -299,8 +299,8 @@ fn compile_contract( let function_type = ContractFunctionType::new(func_type, func_meta.is_unconstrained); - let is_internal = match func_meta.is_contract_function_internal.is_some() { - true => func_meta.is_contract_function_internal.unwrap(), + let is_internal = match func_meta.is_internal.is_some() { + true => func_meta.is_internal.unwrap(), false => false, };