From 235767ba6ee90a71de4fc9aeb161169ce8c89246 Mon Sep 17 00:00:00 2001 From: Kris Nuttycombe Date: Tue, 15 Mar 2022 16:07:37 -0600 Subject: [PATCH] Document that Orchard keys are not supported in z_importkey help --- src/wallet/rpcdump.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/wallet/rpcdump.cpp b/src/wallet/rpcdump.cpp index b4fe8adc7..5374ff7e2 100644 --- a/src/wallet/rpcdump.cpp +++ b/src/wallet/rpcdump.cpp @@ -710,7 +710,8 @@ UniValue z_importkey(const UniValue& params, bool fHelp) if (fHelp || params.size() < 1 || params.size() > 3) throw runtime_error( "z_importkey \"zkey\" ( rescan startHeight )\n" - "\nAdds a zkey (as returned by z_exportkey) to your wallet.\n" + "\nAdds a zkey (as returned by z_exportkey) to your wallet." + "\nImport of Orchard keys is not supported.\n" "\nArguments:\n" "1. \"zkey\" (string, required) The zkey (see z_exportkey)\n" "2. rescan (string, optional, default=\"whenkeyisnew\") Rescan the wallet for transactions - can be \"yes\", \"no\" or \"whenkeyisnew\"\n"