remove one method to access PublicKey
Ed25519KeyPair implements both pub fn pubkey(&self) -> PublicKey and pub fn pubkey(&self) -> PublicKey of KeyPair trait.
There should be only one way to access this field.
Ed25519KeyPair implements both pub fn pubkey(&self) -> PublicKey and pub fn pubkey(&self) -> PublicKey of KeyPair trait.
There should be only one way to access this field.