Use PACKAGE_NAME in messages rather than hardcoding "Bitcoin Core"

This commit is contained in:
Hennadii Stepanov
2022-09-20 15:26:35 +01:00
parent 80d1598133
commit b147322a7a
3 changed files with 5 additions and 3 deletions

View File

@@ -1663,7 +1663,7 @@ bool AppInitMain(NodeContext& node, interfaces::BlockAndHeaderTipInfo* tip_info)
const auto BadPortWarning = [](const char* prefix, uint16_t port) {
return strprintf(_("%s request to listen on port %u. This port is considered \"bad\" and "
"thus it is unlikely that any Bitcoin Core peers connect to it. See "
"thus it is unlikely that any peer will connect to it. See "
"doc/p2p-bad-ports.md for details and a full list."),
prefix,
port);