diff options
| author | John Newbery <[email protected]> | 2018-10-23 08:32:00 -0400 |
|---|---|---|
| committer | John Newbery <[email protected]> | 2018-10-23 08:32:00 -0400 |
| commit | ab9aca2bdfe68fcd512955ed2c4d706933088528 (patch) | |
| tree | b514b22f6aac843a7926d14e49f3c18eceec1afc /src/rpc/mining.cpp | |
| parent | [wallet] Deprecate the generate RPC method (diff) | |
| download | discoin-ab9aca2bdfe68fcd512955ed2c4d706933088528.tar.xz discoin-ab9aca2bdfe68fcd512955ed2c4d706933088528.zip | |
[rpc] add 'getnewaddress' hint to 'generatetoaddress' help text.
Diffstat (limited to 'src/rpc/mining.cpp')
| -rw-r--r-- | src/rpc/mining.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/rpc/mining.cpp b/src/rpc/mining.cpp index d5fb0db75..a47ae34b4 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(); |