Skip to content

Commit 49793fb

Browse files
committed
Merge pull request #6541
e0862c0 Reformat validateaddress help, add missing iswatchonly description. (Pavel Janík)
2 parents e3f13dd + e0862c0 commit 49793fb

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

src/rpcmisc.cpp

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -157,13 +157,14 @@ UniValue validateaddress(const UniValue& params, bool fHelp)
157157
"1. \"bitcoinaddress\" (string, required) The bitcoin address to validate\n"
158158
"\nResult:\n"
159159
"{\n"
160-
" \"isvalid\" : true|false, (boolean) If the address is valid or not. If not, this is the only property returned.\n"
160+
" \"isvalid\" : true|false, (boolean) If the address is valid or not. If not, this is the only property returned.\n"
161161
" \"address\" : \"bitcoinaddress\", (string) The bitcoin address validated\n"
162162
" \"scriptPubKey\" : \"hex\", (string) The hex encoded scriptPubKey generated by the address\n"
163-
" \"ismine\" : true|false, (boolean) If the address is yours or not\n"
164-
" \"isscript\" : true|false, (boolean) If the key is a script\n"
163+
" \"ismine\" : true|false, (boolean) If the address is yours or not\n"
164+
" \"iswatchonly\" : true|false, (boolean) If the address is watchonly\n"
165+
" \"isscript\" : true|false, (boolean) If the key is a script\n"
165166
" \"pubkey\" : \"publickeyhex\", (string) The hex value of the raw public key\n"
166-
" \"iscompressed\" : true|false, (boolean) If the address is compressed\n"
167+
" \"iscompressed\" : true|false, (boolean) If the address is compressed\n"
167168
" \"account\" : \"account\" (string) DEPRECATED. The account associated with the address, \"\" is the default account\n"
168169
"}\n"
169170
"\nExamples:\n"

0 commit comments

Comments
 (0)