diff --git a/src/runtime/import/acl.rs b/src/runtime/import/acl.rs index a9dbc3606..079c3fa10 100644 --- a/src/runtime/import/acl.rs +++ b/src/runtime/import/acl.rs @@ -29,12 +29,3 @@ pub(super) fn acl_allow(env: &Env, sections: &[ContractSection]) -> Result<()> { Ok(()) } - -/// Return an error if the current Env section is in the sections list. -pub(super) fn acl_deny(env: &Env, sections: &[ContractSection]) -> Result<()> { - if sections.contains(&env.contract_section) { - return Err(Error::WasmFunctionAclDenied) - } - - Ok(()) -}