From 69bf803677b43757dd51c4502bdb4cc903eaf637 Mon Sep 17 00:00:00 2001 From: alex v Date: Sun, 25 Aug 2024 15:50:28 +0200 Subject: [PATCH] add hash build to broadcasted version --- src/init.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/init.cpp b/src/init.cpp index aad2611497815..0f4800342ca8c 100644 --- a/src/init.cpp +++ b/src/init.cpp @@ -1324,7 +1324,7 @@ bool AppInitMain(NodeContext& node, interfaces::BlockAndHeaderTipInfo* tip_info) return InitError(strprintf(_("User Agent comment (%s) contains unsafe characters."), cmt)); uacomments.push_back(cmt); } - strSubVersion = FormatSubVersion(CLIENT_NAME, CLIENT_VERSION, uacomments); + strSubVersion = FormatFullVersion(); if (strSubVersion.size() > MAX_SUBVERSION_LENGTH) { return InitError(strprintf(_("Total length of network version string (%i) exceeds maximum length (%i). Reduce the number or size of uacomments."), strSubVersion.size(), MAX_SUBVERSION_LENGTH));