From efcd78cbb69cbfe508226fa8d40c3f0395e6d678 Mon Sep 17 00:00:00 2001
From: Sergey Ponomarev <me@sergey-ponomarev.ru>
Date: Wed, 6 Dec 2023 17:29:45 +0300
Subject: [PATCH] Deprecate `check_api_level`

See https://github.com/LedgerHQ/ledger-secure-sdk/pull/432
---
 src/main.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/src/main.c b/src/main.c
index 3717d8d8..d3fffc12 100644
--- a/src/main.c
+++ b/src/main.c
@@ -253,7 +253,6 @@ static void start_app_from_lib(void) {
 }
 
 static void library_main_helper(libargs_t *args) {
-    check_api_level(CX_COMPAT_APILEVEL);
     switch (args->command) {
         case CHECK_ADDRESS:
             // ensure result is zero if an exception is thrown