diff --git a/src/WebSocketProtocol.cpp b/src/WebSocketProtocol.cpp index ed114711..64f337ed 100644 --- a/src/WebSocketProtocol.cpp +++ b/src/WebSocketProtocol.cpp @@ -7,7 +7,7 @@ bool IsSupportedRpcVersion(uint8_t requestedVersion) { for (auto version : WebSocketProtocol::SupportedRpcVersions) { - if (requestedVersion = version) + if (requestedVersion == version) return true; } return false;