mirror of
https://github.com/varun-r-mallya/py-libp2p.git
synced 2026-02-09 22:50:54 +00:00
Fix wrong peer id type used in KadPeerInfo
This commit is contained in:
@ -19,7 +19,7 @@ MAX_INLINE_KEY_LENGTH = 42
|
||||
class ID:
|
||||
|
||||
_bytes: bytes
|
||||
_xor_id: int
|
||||
_xor_id: int = None
|
||||
|
||||
def __init__(self, peer_id_bytes: bytes) -> None:
|
||||
self._bytes = peer_id_bytes
|
||||
|
||||
Reference in New Issue
Block a user