Skip to content

Commit

Permalink
main: Drop deprecated calls to check_api_level
Browse files Browse the repository at this point in the history
  • Loading branch information
Xavier Chapron committed Oct 11, 2023
1 parent a9370d6 commit 8723e00
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -1021,7 +1021,6 @@ void coin_main(libargs_t *args) {
}

static void library_main_helper(libargs_t *args) {
check_api_level(CX_COMPAT_APILEVEL);
PRINTF("Inside a library \n");
switch (args->command) {
case CHECK_ADDRESS:
Expand Down Expand Up @@ -1082,7 +1081,6 @@ __attribute__((section(".boot"))) int main(int arg0) {
init_coin_config(&local_chainConfig);

PRINTF("Hello from Eth-clone\n");
check_api_level(CX_COMPAT_APILEVEL);
// delegate to Ethereum app/lib
libcall_params[0] = (unsigned int) "Ethereum";
libcall_params[1] = 0x100;
Expand Down

0 comments on commit 8723e00

Please sign in to comment.