mirror of
https://github.com/varun-r-mallya/py-libp2p.git
synced 2026-02-11 15:40:54 +00:00
linter fix
This commit is contained in:
@ -1,12 +1,12 @@
|
|||||||
from Crypto.Hash import SHA256
|
from Crypto.Hash import SHA256
|
||||||
|
|
||||||
from libp2p.crypto.keys import KeyPair, KeyType, PrivateKey, PublicKey
|
|
||||||
from nacl.exceptions import BadSignatureError
|
from nacl.exceptions import BadSignatureError
|
||||||
from nacl.public import PrivateKey as PrivateKeyImpl
|
from nacl.public import PrivateKey as PrivateKeyImpl
|
||||||
from nacl.public import PublicKey as PublicKeyImpl
|
from nacl.public import PublicKey as PublicKeyImpl
|
||||||
from nacl.signing import SigningKey, VerifyKey
|
from nacl.signing import SigningKey, VerifyKey
|
||||||
import nacl.utils as utils
|
import nacl.utils as utils
|
||||||
|
|
||||||
|
from libp2p.crypto.keys import KeyPair, KeyType, PrivateKey, PublicKey
|
||||||
|
|
||||||
|
|
||||||
class Ed25519PublicKey(PublicKey):
|
class Ed25519PublicKey(PublicKey):
|
||||||
def __init__(self, impl: PublicKeyImpl) -> None:
|
def __init__(self, impl: PublicKeyImpl) -> None:
|
||||||
|
|||||||
Reference in New Issue
Block a user