diff --git a/src/rpc/mining.cpp b/src/rpc/mining.cpp
--- a/src/rpc/mining.cpp
+++ b/src/rpc/mining.cpp
@@ -298,12 +298,12 @@
                   {
                       {RPCResult::Type::STR_HEX, "", "blockhash"},
                   }},
-        RPCExamples{
-            "\nGenerate 11 blocks to myaddress\n" +
-            HelpExampleCli("generatetoaddress", "11 \"myaddress\"") +
-            "If you are running the Bitcoin ABC wallet, you can get a new "
-            "address to send the newly generated bitcoin to with:\n" +
-            HelpExampleCli("getnewaddress", "")},
+        RPCExamples{"\nGenerate 11 blocks to myaddress\n" +
+                    HelpExampleCli("generatetoaddress", "11 \"myaddress\"") +
+                    "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);