mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-01-10 20:03:34 -03:00
[rpc] add 'getnewaddress' hint to 'generatetoaddress' help text.
This commit is contained in:
parent
c9f02955b2
commit
ab9aca2bdf
1 changed files with 2 additions and 0 deletions
|
@ -167,6 +167,8 @@ static UniValue generatetoaddress(const JSONRPCRequest& request)
|
||||||
"\nExamples:\n"
|
"\nExamples:\n"
|
||||||
"\nGenerate 11 blocks to myaddress\n"
|
"\nGenerate 11 blocks to myaddress\n"
|
||||||
+ HelpExampleCli("generatetoaddress", "11 \"myaddress\"")
|
+ 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();
|
int nGenerate = request.params[0].get_int();
|
||||||
|
|
Loading…
Reference in a new issue