Merge pull request #6370 from nuttycom/bug/dumpwallet_help

Fixes an error in `zcash-cli help` following the removal of `dumpwallet`.
This commit is contained in:
str4d 2023-01-26 00:48:52 +00:00 committed by GitHub
commit cc068329d5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -99,7 +99,7 @@ _zcash_cli() {
fi
case "$prev" in
backupwallet|dumpwallet|importwallet|z_exportwallet|z_importwallet)
backupwallet|importwallet|z_exportwallet|z_importwallet)
_filedir
return 0
;;

View File

@ -6029,7 +6029,7 @@ static const CRPCCommand commands[] =
{ "wallet", "addmultisigaddress", &addmultisigaddress, true },
{ "wallet", "backupwallet", &backupwallet, true },
{ "wallet", "dumpprivkey", &dumpprivkey, true },
{ "wallet", "dumpwallet", &dumpwallet, true },
{ "hidden", "dumpwallet", &dumpwallet, true },
{ "wallet", "encryptwallet", &encryptwallet, true },
{ "wallet", "getbalance", &getbalance, false },
{ "wallet", "getnewaddress", &getnewaddress, true },