Fix typo in SybilNode & __max_metadata_size

This commit is contained in:
Adam Dobrawy 2017-05-01 00:28:34 +02:00
parent fa2a135e06
commit cde5728019

View File

@ -204,7 +204,7 @@ class SybilNode:
else:
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:
return self.__socket.fileno()