wallet: Pass ArgsManager into ExecuteWalletToolFunc instead of using global

This commit is contained in:
MarcoFalke
2020-12-17 19:18:34 +01:00
parent 143bd108ed
commit fa7dde1c41
3 changed files with 7 additions and 6 deletions

View File

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