mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-07-28 16:03:15 +02:00
[rpc] add 'getnewaddress' hint to 'generatetoaddress' help text.
This commit is contained in:
@@ -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();
|
||||
|
Reference in New Issue
Block a user