Skip to content

Commit 0c0b158

Browse files
gwillenstevenroose
authored andcommitted
Add legacy help text for walletprocesspsbt suggesting to use new RPCs instead.
1 parent 7449be0 commit 0c0b158

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

src/wallet/rpcwallet.cpp

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4491,7 +4491,14 @@ UniValue walletprocesspsbt(const JSONRPCRequest& request)
44914491
throw std::runtime_error(
44924492
RPCHelpMan{"walletprocesspsbt",
44934493
"\nUpdate a PSBT with input information from our wallet and then sign inputs\n"
4494-
"that we can sign for." +
4494+
"that we can sign for.\n\n"
4495+
"NOTE: When working with Confidential Assets transactions, it is necessary to\n"
4496+
"blind the transaction after filling it in from the wallet and before signing\n"
4497+
"it. This RPC will fail when working with such transaction. Instead of using\n"
4498+
"this RPC, use the following sequence:\n"
4499+
" - walletfillpsbtdata\n"
4500+
" - blindpsbt\n"
4501+
" - walletsignpsbt\n" +
44954502
HelpRequiringPassphrase(pwallet) + "\n",
44964503
{
44974504
{"psbt", RPCArg::Type::STR, RPCArg::Optional::NO, "The transaction base64 string"},

0 commit comments

Comments
 (0)