Skip to content

Commit 71af716

Browse files
committed
fix(cometbft): use correct key types
1 parent ac3db79 commit 71af716

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cometbft/src/public_key.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,10 @@ pub use crate::crypto::ed25519::VerificationKey as Ed25519;
1919
use crate::{error::Error, prelude::*};
2020

2121
/// Ed25519 public key type string.
22-
pub const PUB_KEY_TYPE_ED25519: &'static str = "tendermint/PubKeyEd25519";
22+
pub const PUB_KEY_TYPE_ED25519: &'static str = "ed25519";
2323
/// Secp256k1 public key type string.
2424
#[cfg(feature = "secp256k1")]
25-
pub const PUB_KEY_TYPE_SECP256K1: &'static str = "tendermint/PubKeySecp256k1";
25+
pub const PUB_KEY_TYPE_SECP256K1: &'static str = "secp256k1";
2626

2727
// Note:On the golang side this is generic in the sense that it could everything that implements
2828
// github.com/cometbft/cometbft/crypto.PubKey

0 commit comments

Comments
 (0)