Removed protocol type case

This commit is contained in:
akshaya
2025-01-28 16:40:26 -05:00
parent 018fe57c48
commit 4bbd609257

View File

@@ -177,12 +177,6 @@ proc handleMixNodeConnection(mixProto: MixProtocol, conn: Connection) {.async.}
mixMsg = deserializedResult.get()
(message, protocol) = getMixMessage(mixMsg)
info "# Received: ", receiver = multiAddr, message = cast[string](message)
case protocol
of Ping: discard
of GossipSub12: discard
of GossipSub11: discard
of GossipSub10: discard
of OtherProtocol: discard
else:
info "# Intermediate: ", multiAddr = multiAddr
# Add delay