mirror of
https://github.com/varun-r-mallya/py-libp2p.git
synced 2026-02-11 23:51:07 +00:00
Fix lint
This commit is contained in:
@ -203,8 +203,8 @@ class PeerStore(IPeerStore):
|
||||
:param peer_id: peer ID to add private key for
|
||||
:param key_pair:
|
||||
"""
|
||||
self.add_pubkey(key_pair.public_key)
|
||||
self.add_privkey(key_pair.private_key)
|
||||
self.add_pubkey(peer_id, key_pair.public_key)
|
||||
self.add_privkey(peer_id, key_pair.private_key)
|
||||
|
||||
|
||||
class PeerStoreError(KeyError):
|
||||
|
||||
Reference in New Issue
Block a user