Note that `gettransaction` doesn't provide shielded info in RPC help.

Fixes #5682
This commit is contained in:
Kris Nuttycombe 2022-05-11 11:27:31 -06:00 committed by Daira Hopwood
parent bb64e895c2
commit 3b653fca31
1 changed files with 3 additions and 1 deletions

View File

@ -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 <txid>.\n"
"\nReturns detailed information about in-wallet transaction <txid>. 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"