From 3127c65615d4a60479f1bd8f9ad22346df82891c Mon Sep 17 00:00:00 2001 From: Glenn Willen Date: Thu, 6 Jun 2019 22:34:39 -0700 Subject: [PATCH] Add legacy help text for walletprocesspsbt suggesting to use new RPCs instead. --- src/wallet/rpcwallet.cpp | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/src/wallet/rpcwallet.cpp b/src/wallet/rpcwallet.cpp index 11c2463b70..1dd331bac2 100644 --- a/src/wallet/rpcwallet.cpp +++ b/src/wallet/rpcwallet.cpp @@ -4506,7 +4506,14 @@ UniValue walletprocesspsbt(const JSONRPCRequest& request) throw std::runtime_error( RPCHelpMan{"walletprocesspsbt", "\nUpdate a PSBT with input information from our wallet and then sign inputs\n" - "that we can sign for." + + "that we can sign for.\n\n" + "NOTE: When working with Confidential Assets transactions, it is necessary to\n" + "blind the transaction after filling it in from the wallet and before signing\n" + "it. This RPC will fail when working with such transaction. Instead of using\n" + "this RPC, use the following sequence:\n" + " - walletfillpsbtdata\n" + " - blindpsbt\n" + " - walletsignpsbt\n" + HelpRequiringPassphrase(pwallet) + "\n", { {"psbt", RPCArg::Type::STR, RPCArg::Optional::NO, "The transaction base64 string"},