RPC: Rephrase generatetoaddress help, and use PACKAGE_NAME

This commit is contained in:
Luke Dashjr 2020-06-15 08:06:22 +00:00
parent 195822f1e0
commit 0f8f515445

View file

@ -252,7 +252,7 @@ static UniValue generatetoaddress(const JSONRPCRequest& request)
RPCExamples{
"\nGenerate 11 blocks to myaddress\n"
+ HelpExampleCli("generatetoaddress", "11 \"myaddress\"")
+ "If you are running the bitcoin core wallet, you can get a new address to send the newly generated bitcoin to with:\n"
+ "If you are using the " PACKAGE_NAME " wallet, you can get a new address to send the newly generated bitcoin to with:\n"
+ HelpExampleCli("getnewaddress", "")
},
}.Check(request);