mirror of
https://github.com/varun-r-mallya/py-libp2p.git
synced 2025-12-31 20:36:24 +00:00
WIP CI Build Errors (#76)
* ignore TODO and kademlia * remove unnecessary pass * fixed swarm warnings * fixed peerdata_interface warnings * fixed peer warnings * fixed rest of linting errors * trying to fix last error * fixed dup errors
This commit is contained in:
@ -45,7 +45,6 @@ class Mplex(IMuxedConn):
|
||||
check connection is fully closed
|
||||
:return: true if successful
|
||||
"""
|
||||
pass
|
||||
|
||||
async def read_buffer(self, stream_id):
|
||||
# Empty buffer or nonexistent stream
|
||||
@ -119,7 +118,8 @@ class Mplex(IMuxedConn):
|
||||
message = data[end_index:end_index + length + 1]
|
||||
|
||||
# Deal with other types of messages
|
||||
flag = header & 0x07
|
||||
# TODO use flag
|
||||
# flag = header & 0x07
|
||||
stream_id = header >> 3
|
||||
|
||||
if stream_id not in self.buffers:
|
||||
|
||||
Reference in New Issue
Block a user