diff --git a/src/main.c b/src/main.c index 24620b565b..6553cc0852 100644 --- a/src/main.c +++ b/src/main.c @@ -615,7 +615,7 @@ void coin_main(libargs_t *args) { app_exit(); } -void library_main(libargs_t *args) { +__attribute__((noreturn)) void library_main(libargs_t *args) { chain_config_t coin_config; if (args->chain_config == NULL) { // We have been started directly by Exchange, not by a Clone. Init default chain