From 125c5d8e2c07a7e57e52aa55711c35896b064953 Mon Sep 17 00:00:00 2001 From: Alex Stokes Date: Wed, 14 Aug 2019 09:30:23 -0700 Subject: [PATCH] Adjust inheritance so that the MRO is clear for the chain of keys --- libp2p/crypto/keys.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libp2p/crypto/keys.py b/libp2p/crypto/keys.py index 9ee6b4c0..4a43b41f 100644 --- a/libp2p/crypto/keys.py +++ b/libp2p/crypto/keys.py @@ -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. """