From c1ffb03f774c88fe22a3c6b47143ca9b4a764fc2 Mon Sep 17 00:00:00 2001 From: Alex Stokes Date: Mon, 26 Aug 2019 09:51:49 -0700 Subject: [PATCH] Update comment to reflect correct function --- libp2p/crypto/ecc.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/libp2p/crypto/ecc.py b/libp2p/crypto/ecc.py index f4d4c54..8ede8f8 100644 --- a/libp2p/crypto/ecc.py +++ b/libp2p/crypto/ecc.py @@ -49,8 +49,7 @@ class ECCPrivateKey(PrivateKey): def create_new_key_pair(curve: str) -> KeyPair: """ - Returns a new RSA keypair with the requested key size (``bits``) and the given public - exponent ``e``. Sane defaults are provided for both values. + Return a new ECC keypair with the requested ``curve`` type, e.g. "P-256". """ private_key = ECCPrivateKey.new(curve) public_key = private_key.get_public_key()