From cc491065147276193e39095ee0f54b913a37180d Mon Sep 17 00:00:00 2001 From: Steven Roose Date: Mon, 17 Jun 2019 10:41:09 +0100 Subject: [PATCH] Update getnewaddress help message with "blech32" special case --- src/wallet/rpcwallet.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/wallet/rpcwallet.cpp b/src/wallet/rpcwallet.cpp index 16c9028a09..c99f44fb9b 100644 --- a/src/wallet/rpcwallet.cpp +++ b/src/wallet/rpcwallet.cpp @@ -180,7 +180,9 @@ static UniValue getnewaddress(const JSONRPCRequest& request) RPCHelpMan{"getnewaddress", "\nReturns a new Bitcoin address for receiving payments.\n" "If 'label' is specified, it is added to the address book \n" - "so payments received with the address will be associated with 'label'.\n", + "so payments received with the address will be associated with 'label'.\n" + "When the wallet doesn't give blinded addresses by default (-blindedaddresses=0), \n" + "the address type \"blech32\" can still be used to get a blinded address.\n", { {"label", RPCArg::Type::STR, /* default */ "\"\"", "The label name for the address to be linked to. It can also be set to the empty string \"\" to represent the default label. The label does not need to exist, it will be created if there is no label by the given name."}, {"address_type", RPCArg::Type::STR, /* default */ "set by -addresstype", "The address type to use. Options are \"legacy\", \"p2sh-segwit\", and \"bech32\". Default is set by -addresstype."},