From ab9aca2bdfe68fcd512955ed2c4d706933088528 Mon Sep 17 00:00:00 2001 From: John Newbery Date: Tue, 23 Oct 2018 08:32:00 -0400 Subject: [rpc] add 'getnewaddress' hint to 'generatetoaddress' help text. --- src/rpc/mining.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/rpc/mining.cpp b/src/rpc/mining.cpp index d5fb0db752..a47ae34b40 100644 --- a/src/rpc/mining.cpp +++ b/src/rpc/mining.cpp @@ -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(); -- cgit v1.2.3