mirror of
https://github.com/vacp2p/mix.git
synced 2026-01-08 04:53:55 -05:00
Removed protocol type case
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user