diff --git a/libp2p/muxers/mplex/coder.nim b/libp2p/muxers/mplex/coder.nim index cc0f8c0ba..d7a6040fc 100644 --- a/libp2p/muxers/mplex/coder.nim +++ b/libp2p/muxers/mplex/coder.nim @@ -18,8 +18,6 @@ import types, logScope: topic = "MplexCoder" -const DefaultChannelSize* = 1 shl 20 - type Msg* = tuple id: uint64 diff --git a/libp2p/muxers/mplex/lpchannel.nim b/libp2p/muxers/mplex/lpchannel.nim index 8aeff1f6d..e22ed4b9f 100644 --- a/libp2p/muxers/mplex/lpchannel.nim +++ b/libp2p/muxers/mplex/lpchannel.nim @@ -22,6 +22,8 @@ export lpstream logScope: topic = "MplexChannel" +const DefaultChannelSize* = 1 shl 20 + type LPChannel* = ref object of BufferStream id*: uint64