Accept to be launched as Ethereum from remote app

This commit is contained in:
TamtamHero
2021-04-14 18:33:12 +02:00
committed by pscott
parent f096e91690
commit 4539f9d933

View File

@@ -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