mirror of
https://github.com/varun-r-mallya/py-libp2p.git
synced 2025-12-31 20:36:24 +00:00
Adjust inheritance so that the MRO is clear for the chain of keys
This commit is contained in:
@ -33,7 +33,7 @@ class Key(ABC):
|
||||
...
|
||||
|
||||
|
||||
class PublicKey(ABC, Key):
|
||||
class PublicKey(Key):
|
||||
"""
|
||||
A ``PublicKey`` represents a cryptographic public key.
|
||||
"""
|
||||
@ -54,7 +54,7 @@ class PublicKey(ABC, Key):
|
||||
return protobuf_key
|
||||
|
||||
|
||||
class PrivateKey(ABC, Key):
|
||||
class PrivateKey(Key):
|
||||
"""
|
||||
A ``PrivateKey`` represents a cryptographic private key.
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user