Fix wrong import

This commit is contained in:
NIC619
2019-10-18 15:44:07 +08:00
parent 211e2f6dd0
commit 9889cb8ab1
2 changed files with 3 additions and 3 deletions

View File

@ -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: