mirror of
https://git.wownero.com/wownero/wownero.git
synced 2024-12-23 03:38:53 +00:00
gen_multisig: nice exit on unhandled exception
Coverity 182569
This commit is contained in:
parent
53df2deb36
commit
6e8554221f
@ -167,6 +167,8 @@ static bool generate_multisig(uint32_t threshold, uint32_t total, const std::str
|
|||||||
|
|
||||||
int main(int argc, char* argv[])
|
int main(int argc, char* argv[])
|
||||||
{
|
{
|
||||||
|
TRY_ENTRY();
|
||||||
|
|
||||||
po::options_description desc_params(wallet_args::tr("Wallet options"));
|
po::options_description desc_params(wallet_args::tr("Wallet options"));
|
||||||
command_line::add_arg(desc_params, arg_filename_base);
|
command_line::add_arg(desc_params, arg_filename_base);
|
||||||
command_line::add_arg(desc_params, arg_scheme);
|
command_line::add_arg(desc_params, arg_scheme);
|
||||||
@ -254,5 +256,5 @@ int main(int argc, char* argv[])
|
|||||||
return 1;
|
return 1;
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
//CATCH_ENTRY_L0("main", 1);
|
CATCH_ENTRY_L0("main", 1);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user