From 25c62d804ab0c9794385b95fbfccc3c9b30bc278 Mon Sep 17 00:00:00 2001 From: Kris Nuttycombe Date: Wed, 25 Jan 2023 16:27:43 -0700 Subject: [PATCH] Fixes an error in `zcash-cli help` following the removal of `dumpwallet`. --- contrib/zcash-cli.bash-completion | 2 +- src/wallet/rpcwallet.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/contrib/zcash-cli.bash-completion b/contrib/zcash-cli.bash-completion index 264ba86f4..001b1abfb 100644 --- a/contrib/zcash-cli.bash-completion +++ b/contrib/zcash-cli.bash-completion @@ -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 ;; diff --git a/src/wallet/rpcwallet.cpp b/src/wallet/rpcwallet.cpp index 51943f7ce..6d0e7c266 100644 --- a/src/wallet/rpcwallet.cpp +++ b/src/wallet/rpcwallet.cpp @@ -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 },