Skip to content

Commit 6723585

Browse files
Make RemotePublicKey public to enable signature verification (#435)
This is needed to verify signatures made by remote peers using their network keys in polkadot-sdk.
1 parent c985fea commit 6723585

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/crypto/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ impl From<ed25519::PublicKey> for PublicKey {
9494

9595
/// The public key of a remote node's identity keypair. Supports RSA keys additionally to ed25519.
9696
#[derive(Clone, Debug, PartialEq, Eq)]
97-
pub(crate) enum RemotePublicKey {
97+
pub enum RemotePublicKey {
9898
/// A public Ed25519 key.
9999
Ed25519(ed25519::PublicKey),
100100
/// A public RSA key.

0 commit comments

Comments
 (0)