mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-07-04 12:42:05 +02:00
wallet: Pass ArgsManager into ExecuteWalletToolFunc instead of using global
This commit is contained in:
@ -120,8 +120,9 @@ int main(int argc, char* argv[])
|
||||
|
||||
ECCVerifyHandle globalVerifyHandle;
|
||||
ECC_Start();
|
||||
if (!WalletTool::ExecuteWalletToolFunc(method, name))
|
||||
if (!WalletTool::ExecuteWalletToolFunc(gArgs, method, name)) {
|
||||
return EXIT_FAILURE;
|
||||
}
|
||||
ECC_Stop();
|
||||
return EXIT_SUCCESS;
|
||||
}
|
||||
|
Reference in New Issue
Block a user