From 0c0b158e6395fbcdee8aab809b5cc97f4236a0e7 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 b06080ee20..3743ef6329 100644 --- a/src/wallet/rpcwallet.cpp +++ b/src/wallet/rpcwallet.cpp @@ -4491,7 +4491,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"},