Skip to content

Commit

Permalink
cleanup: Remove unused function MakeForSpecificClient()
Browse files Browse the repository at this point in the history
  • Loading branch information
lateminer committed Feb 5, 2024
1 parent 976b47e commit 1751061
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions src/netmessagemaker.h
Original file line number Diff line number Diff line change
Expand Up @@ -31,20 +31,6 @@ class CNetMsgMaker
return Make(0, std::move(msg_type), std::forward<Args>(args)...);
}

// Blackcoin ToDo: revert after nodes upgrade to current version
/*
template <typename... Args>
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>(args)... };
return msg;
}
*/

private:
const int nVersion;
};
Expand Down

0 comments on commit 1751061

Please sign in to comment.