mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-17 13:07:54 +02:00
wallet: Pass ArgsManager into ExecuteWalletToolFunc instead of using global
This commit is contained in:
parent
143bd108ed
commit
fa7dde1c41
3 changed files with 7 additions and 6 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue