Fix typo in SybilNode & __max_metadata_size
This commit is contained in:
parent
fa2a135e06
commit
cde5728019
@ -204,7 +204,7 @@ class SybilNode:
|
|||||||
else:
|
else:
|
||||||
peer_addr = (addr[0], port)
|
peer_addr = (addr[0], port)
|
||||||
|
|
||||||
self.when_peer_found(info_hash, peer_addr, self.max_metadata_size)
|
self.when_peer_found(info_hash, peer_addr, self.__max_metadata_size)
|
||||||
|
|
||||||
def fileno(self) -> int:
|
def fileno(self) -> int:
|
||||||
return self.__socket.fileno()
|
return self.__socket.fileno()
|
||||||
|
Loading…
Reference in New Issue
Block a user