Skip to content

Commit e83ca35

Browse files
committed
Add legacy help text for walletprocesspsbt suggesting to use new RPCs instead.
1 parent f23f093 commit e83ca35

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
@@ -4517,7 +4517,14 @@ UniValue walletprocesspsbt(const JSONRPCRequest& request)
45174517
throw std::runtime_error(
45184518
"walletprocesspsbt \"psbt\" ( sign \"sighashtype\" bip32derivs )\n"
45194519
"\nUpdate a PSBT with input information from our wallet and then sign inputs\n"
4520-
"that we can sign for.\n"
4520+
"that we can sign for.\n\n"
4521+
"NOTE: When working with Confidential Assets transactions, it is necessary to\n"
4522+
"blind the transaction after filling it in from the wallet and before signing\n"
4523+
"it. This RPC will fail when working with such transaction. Instead of using\n"
4524+
"this RPC, use the following sequence:\n"
4525+
" - walletfillpsbtdata\n"
4526+
" - blindpsbt\n"
4527+
" - walletsignpsbt\n"
45214528
+ HelpRequiringPassphrase(pwallet) + "\n"
45224529

45234530
"\nArguments:\n"

0 commit comments

Comments
 (0)