Fix typo w/ header tag under different reset scenarios

This commit is contained in:
Alex Stokes 2019-08-26 11:39:30 -07:00
parent 98a0e76dda
commit a193ae81fd
No known key found for this signature in database
GPG Key ID: 51CE1721B245C086

View File

@ -132,7 +132,7 @@ class MplexStream(IMuxedStream):
flag = ( flag = (
HeaderTags.ResetInitiator HeaderTags.ResetInitiator
if self.initiator if self.initiator
else HeaderTags.ResetInitiator else HeaderTags.ResetReceiver
) )
await self.mplex_conn.send_message(flag, None, self.stream_id) await self.mplex_conn.send_message(flag, None, self.stream_id)