From 4539f9d9333ae489115cb4265a36c354439773f0 Mon Sep 17 00:00:00 2001 From: TamtamHero <10632523+TamtamHero@users.noreply.github.com> Date: Wed, 14 Apr 2021 18:33:12 +0200 Subject: [PATCH] Accept to be launched as Ethereum from remote app --- src/main.c | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/src/main.c b/src/main.c index bf0f54b..00761bd 100644 --- a/src/main.c +++ b/src/main.c @@ -928,14 +928,11 @@ __attribute__((section(".boot"))) int main(int arg0) { } switch (args->command) { case RUN_APPLICATION: - // coin application launched from dashboard - if (args->chain_config == NULL) - app_exit(); - else - coin_main(args->chain_config); + // called as ethereum from altcoin or plugin + coin_main(args->chain_config); break; default: - // called as bitcoin or altcoin library + // called as ethereum or altcoin library library_main(args); } #endif