WebSocketProtocol: Fix compare (oops)

This commit is contained in:
tt2468 2021-04-30 10:46:53 -07:00
parent 7f503d846b
commit 997dc40d6c

View File

@ -7,7 +7,7 @@
bool IsSupportedRpcVersion(uint8_t requestedVersion)
{
for (auto version : WebSocketProtocol::SupportedRpcVersions) {
if (requestedVersion = version)
if (requestedVersion == version)
return true;
}
return false;