mirror of
https://github.com/Retropex/bitcoin.git
synced 2025-05-13 11:40:42 +02:00
[rpc] add 'getnewaddress' hint to 'generatetoaddress' help text.
This commit is contained in:
parent
c9f02955b2
commit
ab9aca2bdf
@ -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 New Issue
Block a user