From 3b653fca313a5b3818a6f44c9e48e3638498d291 Mon Sep 17 00:00:00 2001 From: Kris Nuttycombe Date: Wed, 11 May 2022 11:27:31 -0600 Subject: [PATCH] Note that `gettransaction` doesn't provide shielded info in RPC help. Fixes #5682 --- src/wallet/rpcwallet.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/wallet/rpcwallet.cpp b/src/wallet/rpcwallet.cpp index b64808f98..dc17cd60f 100644 --- a/src/wallet/rpcwallet.cpp +++ b/src/wallet/rpcwallet.cpp @@ -1701,7 +1701,9 @@ UniValue gettransaction(const UniValue& params, bool fHelp) if (fHelp || params.size() < 1 || params.size() > 2) throw runtime_error( "gettransaction \"txid\" ( includeWatchonly )\n" - "\nReturns detailed information about in-wallet transaction .\n" + "\nReturns detailed information about in-wallet transaction . This does not\n" + "include complete information about shielded components of the transaction; to obtain\n" + "details about shielded components of the transaction use `z_viewtransaction`.\n" "\nArguments:\n" "1. \"txid\" (string, required) The transaction id\n" "2. \"includeWatchonly\" (bool, optional, default=false) Whether to include watchonly addresses in balance calculation and details[]\n"