mirror of
https://github.com/dashpay/dash.git
synced 2024-12-29 13:59:06 +01:00
trivial: fix address_type help text of getnewaddress and getrawchangeaddress
This commit is contained in:
parent
45cf8a03cb
commit
5f911c5cc2
@ -144,7 +144,7 @@ UniValue getnewaddress(const JSONRPCRequest& request)
|
|||||||
"so payments received with the address will be credited to 'account'.\n"
|
"so payments received with the address will be credited to 'account'.\n"
|
||||||
"\nArguments:\n"
|
"\nArguments:\n"
|
||||||
"1. \"account\" (string, optional) DEPRECATED. The account name for the address to be linked to. If not provided, the default account \"\" is used. It can also be set to the empty string \"\" to represent the default account. The account does not need to exist, it will be created if there is no account by the given name.\n"
|
"1. \"account\" (string, optional) DEPRECATED. The account name for the address to be linked to. If not provided, the default account \"\" is used. It can also be set to the empty string \"\" to represent the default account. The account does not need to exist, it will be created if there is no account by the given name.\n"
|
||||||
"2. \"address_type\" (string, optional) The address type to use. Options are \"legacy\", \"p2sh\", and \"bech32\". Default is set by -addresstype.\n"
|
"2. \"address_type\" (string, optional) The address type to use. Options are \"legacy\", \"p2sh-segwit\", and \"bech32\". Default is set by -addresstype.\n"
|
||||||
"\nResult:\n"
|
"\nResult:\n"
|
||||||
"\"address\" (string) The new bitcoin address\n"
|
"\"address\" (string) The new bitcoin address\n"
|
||||||
"\nExamples:\n"
|
"\nExamples:\n"
|
||||||
@ -242,7 +242,7 @@ UniValue getrawchangeaddress(const JSONRPCRequest& request)
|
|||||||
"\nReturns a new Bitcoin address, for receiving change.\n"
|
"\nReturns a new Bitcoin address, for receiving change.\n"
|
||||||
"This is for use with raw transactions, NOT normal use.\n"
|
"This is for use with raw transactions, NOT normal use.\n"
|
||||||
"\nArguments:\n"
|
"\nArguments:\n"
|
||||||
"1. \"address_type\" (string, optional) The address type to use. Options are \"legacy\", \"p2sh\", and \"bech32\". Default is set by -changetype.\n"
|
"1. \"address_type\" (string, optional) The address type to use. Options are \"legacy\", \"p2sh-segwit\", and \"bech32\". Default is set by -changetype.\n"
|
||||||
"\nResult:\n"
|
"\nResult:\n"
|
||||||
"\"address\" (string) The address\n"
|
"\"address\" (string) The address\n"
|
||||||
"\nExamples:\n"
|
"\nExamples:\n"
|
||||||
|
Loading…
Reference in New Issue
Block a user