Skip to content

Commit ece4c8c

Browse files
committed
formatted
1 parent 6eebfac commit ece4c8c

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

Sources/LibP2PMPLEX/MPLEX/MPLEXStream.swift

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,8 @@ public class MPLEXStream: _Stream {
144144
if state.rawValue > self._streamState.rawValue {
145145
//print("Stream[\(streamID.id)] -> Updating state from \(self._streamState) -> \(state)")
146146
self._streamState = state
147-
} //else { print("Stream[\(streamID.id)] -> Skipping invalid state change from \(self._streamState) -> \(state)") }
147+
}
148+
//else { print("Stream[\(streamID.id)] -> Skipping invalid state change from \(self._streamState) -> \(state)") }
148149

149150
// Update our protocol if it hasn't been set yet
150151
guard self.protocolCodec == "" else {

Sources/LibP2PMPLEX/MPLEX/MPLEXStreamMultiplexer.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -281,7 +281,7 @@ public final class MPLEXStreamMultiplexer: ChannelInboundHandler, ChannelOutboun
281281
}
282282

283283
public func write(context: ChannelHandlerContext, data: NIOAny, promise: EventLoopPromise<Void>?) {
284-
/* for now just forward */
284+
// for now just forward
285285
context.write(data, promise: promise)
286286
}
287287

0 commit comments

Comments
 (0)