diff --git a/libp2p/crypto/ed25519.py b/libp2p/crypto/ed25519.py index cde2641..11a1668 100644 --- a/libp2p/crypto/ed25519.py +++ b/libp2p/crypto/ed25519.py @@ -1,12 +1,12 @@ from Crypto.Hash import SHA256 - -from libp2p.crypto.keys import KeyPair, KeyType, PrivateKey, PublicKey from nacl.exceptions import BadSignatureError from nacl.public import PrivateKey as PrivateKeyImpl from nacl.public import PublicKey as PublicKeyImpl from nacl.signing import SigningKey, VerifyKey import nacl.utils as utils +from libp2p.crypto.keys import KeyPair, KeyType, PrivateKey, PublicKey + class Ed25519PublicKey(PublicKey): def __init__(self, impl: PublicKeyImpl) -> None: