From 82af623641c6a01bcc5f0b46b351fb07b1f7d4dc Mon Sep 17 00:00:00 2001 From: Dmitriy Ryajov Date: Wed, 11 Mar 2020 09:26:27 -0600 Subject: [PATCH] use correct shift --- libp2p/muxers/mplex/coder.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libp2p/muxers/mplex/coder.nim b/libp2p/muxers/mplex/coder.nim index 83c079b..5c9c8c7 100644 --- a/libp2p/muxers/mplex/coder.nim +++ b/libp2p/muxers/mplex/coder.nim @@ -18,7 +18,7 @@ import types, logScope: topic = "MplexCoder" -const DefaultChannelSize* = 1 shr 20 +const DefaultChannelSize* = 1 shl 20 type Msg* = tuple