RPC: Rephrase generatetoaddress help, and use PACKAGE_NAME

pull/764/head
Luke Dashjr 4 years ago
parent 195822f1e0
commit 0f8f515445

@ -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);

Loading…
Cancel
Save