Skip to content

Commit

Permalink
fix: is_internal name
Browse files Browse the repository at this point in the history
  • Loading branch information
LHerskind committed Jul 7, 2023
1 parent 18838cb commit 50de98f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/noirc_driver/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
};

Expand Down

0 comments on commit 50de98f

Please sign in to comment.