[rpc] add 'getnewaddress' hint to 'generatetoaddress' help text.

This commit is contained in:
John Newbery 2018-10-23 08:32:00 -04:00
parent c9f02955b2
commit ab9aca2bdf

View file

@ -167,6 +167,8 @@ static UniValue generatetoaddress(const JSONRPCRequest& request)
"\nExamples:\n"
"\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"
+ HelpExampleCli("getnewaddress", "")
);
int nGenerate = request.params[0].get_int();