RPC help fixes

This commit is contained in:
Duke Leto
2020-09-20 11:16:42 -04:00
parent 1064d33f43
commit e87101bd1f
4 changed files with 6 additions and 6 deletions

View File

@@ -1440,7 +1440,7 @@ UniValue gettxout(const UniValue& params, bool fHelp, const CPubKey& mypk)
" \"reqSigs\" : n, (numeric) Number of required signatures\n"
" \"type\" : \"pubkeyhash\", (string) The type, eg pubkeyhash\n"
" \"addresses\" : [ (array of string) array of Komodo addresses\n"
" \"komodoaddress\" (string) Komodo address\n"
" \"hushaddress\" (string) Hush address\n"
" ,...\n"
" ]\n"
" },\n"

View File

@@ -321,7 +321,7 @@ UniValue getaddednodeinfo(const UniValue& params, bool fHelp, const CPubKey& myp
" \"connected\" : true|false, (boolean) If connected\n"
" \"addresses\" : [\n"
" {\n"
" \"address\" : \"192.168.0.201:8233\", (string) The Komodo server host and port\n"
" \"address\" : \"192.168.0.201:8233\", (string) The Hush server host and port\n"
" \"connected\" : \"outbound\" (string) connection, inbound or outbound\n"
" }\n"
" ,...\n"

View File

@@ -409,7 +409,7 @@ UniValue getrawtransaction(const UniValue& params, bool fHelp, const CPubKey& my
" \"reqSigs\" : n, (numeric) The required sigs\n"
" \"type\" : \"pubkeyhash\", (string) The type, eg 'pubkeyhash'\n"
" \"addresses\" : [ (json array of string)\n"
" \"komodoaddress\" (string) Komodo address\n"
" \"hushaddress\" (string) Hush address\n"
" ,...\n"
" ]\n"
" }\n"
@@ -773,7 +773,7 @@ UniValue createrawtransaction(const UniValue& params, bool fHelp, const CPubKey&
}
}
else {
throw JSONRPCError(RPC_INVALID_ADDRESS_OR_KEY, std::string("Invalid Komodo address or script: ") + name_);
throw JSONRPCError(RPC_INVALID_ADDRESS_OR_KEY, std::string("Invalid Hush address or script: ") + name_);
}
if (!(fExperimentalMode && IS_KOMODO_NOTARY)) {
@@ -880,7 +880,7 @@ UniValue decodescript(const UniValue& params, bool fHelp, const CPubKey& mypk)
" \"type\":\"type\", (string) The output type\n"
" \"reqSigs\": n, (numeric) The required signatures\n"
" \"addresses\": [ (json array of string)\n"
" \"address\" (string) Komodo address\n"
" \"address\" (string) Hush address\n"
" ,...\n"
" ],\n"
" \"p2sh\",\"address\" (string) script address\n"