mirror of
https://github.com/varun-r-mallya/py-libp2p.git
synced 2026-02-11 07:30:55 +00:00
fix typos
This commit is contained in:
@ -217,10 +217,6 @@ class PeerStore(IPeerStore):
|
|||||||
peer_data.clear_addrs()
|
peer_data.clear_addrs()
|
||||||
return output
|
return output
|
||||||
|
|
||||||
def addr_stream(self, peer_id: ID) -> None:
|
|
||||||
"""addr_stream"""
|
|
||||||
# TODO!
|
|
||||||
|
|
||||||
# -------KEY-BOOK---------
|
# -------KEY-BOOK---------
|
||||||
|
|
||||||
def add_pubkey(self, peer_id: ID, pubkey: PublicKey) -> None:
|
def add_pubkey(self, peer_id: ID, pubkey: PublicKey) -> None:
|
||||||
@ -292,7 +288,7 @@ class PeerStore(IPeerStore):
|
|||||||
]
|
]
|
||||||
|
|
||||||
def clear_keydata(self, peer_id: ID) -> None:
|
def clear_keydata(self, peer_id: ID) -> None:
|
||||||
"""Clears all the keys of the peer"""
|
"""Clears the keys of the peer"""
|
||||||
peer_data = self.peer_data_map[peer_id]
|
peer_data = self.peer_data_map[peer_id]
|
||||||
peer_data.clear_keydata()
|
peer_data.clear_keydata()
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user