From a193ae81fd5287ec702c6a7e95a28b026664a4fb Mon Sep 17 00:00:00 2001 From: Alex Stokes Date: Mon, 26 Aug 2019 11:39:30 -0700 Subject: [PATCH] Fix typo w/ header tag under different reset scenarios --- libp2p/stream_muxer/mplex/mplex_stream.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libp2p/stream_muxer/mplex/mplex_stream.py b/libp2p/stream_muxer/mplex/mplex_stream.py index e90a1d4..a6c2ce2 100644 --- a/libp2p/stream_muxer/mplex/mplex_stream.py +++ b/libp2p/stream_muxer/mplex/mplex_stream.py @@ -132,7 +132,7 @@ class MplexStream(IMuxedStream): flag = ( HeaderTags.ResetInitiator if self.initiator - else HeaderTags.ResetInitiator + else HeaderTags.ResetReceiver ) await self.mplex_conn.send_message(flag, None, self.stream_id)