mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-06-29 02:11:24 +02:00
tools: Use ECC_Context helper in bitcoin-tx and bitcoin-wallet tools
This commit is contained in:
@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user