We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ac3db79 commit 71af716Copy full SHA for 71af716
cometbft/src/public_key.rs
@@ -19,10 +19,10 @@ pub use crate::crypto::ed25519::VerificationKey as Ed25519;
19
use crate::{error::Error, prelude::*};
20
21
/// Ed25519 public key type string.
22
-pub const PUB_KEY_TYPE_ED25519: &'static str = "tendermint/PubKeyEd25519";
+pub const PUB_KEY_TYPE_ED25519: &'static str = "ed25519";
23
/// Secp256k1 public key type string.
24
#[cfg(feature = "secp256k1")]
25
-pub const PUB_KEY_TYPE_SECP256K1: &'static str = "tendermint/PubKeySecp256k1";
+pub const PUB_KEY_TYPE_SECP256K1: &'static str = "secp256k1";
26
27
// Note:On the golang side this is generic in the sense that it could everything that implements
28
// github.com/cometbft/cometbft/crypto.PubKey
0 commit comments