Skip to content

Commit 3127c65

Browse files
committed
Add legacy help text for walletprocesspsbt suggesting to use new RPCs instead.
1 parent d39925b commit 3127c65

1 file changed

Lines changed: 8 additions & 1 deletion

File tree

src/wallet/rpcwallet.cpp

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4506,7 +4506,14 @@ UniValue walletprocesspsbt(const JSONRPCRequest& request)
45064506
throw std::runtime_error(
45074507
RPCHelpMan{"walletprocesspsbt",
45084508
"\nUpdate a PSBT with input information from our wallet and then sign inputs\n"
4509-
"that we can sign for." +
4509+
"that we can sign for.\n\n"
4510+
"NOTE: When working with Confidential Assets transactions, it is necessary to\n"
4511+
"blind the transaction after filling it in from the wallet and before signing\n"
4512+
"it. This RPC will fail when working with such transaction. Instead of using\n"
4513+
"this RPC, use the following sequence:\n"
4514+
" - walletfillpsbtdata\n"
4515+
" - blindpsbt\n"
4516+
" - walletsignpsbt\n" +
45104517
HelpRequiringPassphrase(pwallet) + "\n",
45114518
{
45124519
{"psbt", RPCArg::Type::STR, RPCArg::Optional::NO, "The transaction base64 string"},

0 commit comments

Comments
 (0)