aboutsummaryrefslogtreecommitdiff
path: root/src/rpc/mining.cpp
diff options
context:
space:
mode:
authorLuke Dashjr <luke-jr+git@utopios.org>2020-06-15 08:06:22 +0000
committerLuke Dashjr <luke-jr+git@utopios.org>2020-06-15 08:13:49 +0000
commit0f8f51544558d204a4e9d0607b0f375150529637 (patch)
tree843f6cdffd78ff4a93eecde5b5a78069a0ed3010 /src/rpc/mining.cpp
parent195822f1e05e2f36002c906667d4c639663f23b5 (diff)
RPC: Rephrase generatetoaddress help, and use PACKAGE_NAME
Diffstat (limited to 'src/rpc/mining.cpp')
-rw-r--r--src/rpc/mining.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rpc/mining.cpp b/src/rpc/mining.cpp
index a2de175c85..d5fc3f57bb 100644
--- a/src/rpc/mining.cpp
+++ b/src/rpc/mining.cpp
@@ -252,7 +252,7 @@ static UniValue generatetoaddress(const JSONRPCRequest& request)
RPCExamples{
"\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"
+ + "If you are using the " PACKAGE_NAME " wallet, you can get a new address to send the newly generated bitcoin to with:\n"
+ HelpExampleCli("getnewaddress", "")
},
}.Check(request);