From 1751061b8f85e8eee92bbb1d584c95af60093378 Mon Sep 17 00:00:00 2001 From: lateminer <9951982+lateminer@users.noreply.github.com> Date: Tue, 6 Feb 2024 00:58:00 +0100 Subject: [PATCH] cleanup: Remove unused function MakeForSpecificClient() --- src/netmessagemaker.h | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/src/netmessagemaker.h b/src/netmessagemaker.h index 19b31fe214..1fc8cd7cc3 100644 --- a/src/netmessagemaker.h +++ b/src/netmessagemaker.h @@ -31,20 +31,6 @@ class CNetMsgMaker return Make(0, std::move(msg_type), std::forward(args)...); } - // Blackcoin ToDo: revert after nodes upgrade to current version - /* - template - CSerializedNetMsg MakeForSpecificClient(int nClientVersion, std::string msg_type, Args&&... args) const - { - int nFlags = 0; - CSerializedNetMsg msg; - msg.m_type = std::move(msg_type); - int32_t serModes = nClientVersion <= OLD_VERSION ? SER_NETWORK : SER_NETWORK | SER_POSMARKER; - CVectorWriter{ serModes, nFlags | nClientVersion, msg.data, 0, std::forward(args)... }; - return msg; - } - */ - private: const int nVersion; };