tools: Use ECC_Context helper in bitcoin-tx and bitcoin-wallet tools

This commit is contained in:
Ryan Ofsky
2024-05-07 08:55:34 -04:00
committed by TheCharlatan
parent 28905c1a64
commit a08d2b3cb9
2 changed files with 5 additions and 17 deletions

View File

@ -128,10 +128,9 @@ MAIN_FUNCTION
return EXIT_FAILURE;
}
ECC_Start();
ECC_Context ecc_context{};
if (!wallet::WalletTool::ExecuteWalletToolFunc(args, command->command)) {
return EXIT_FAILURE;
}
ECC_Stop();
return EXIT_SUCCESS;
}