mirror of
https://github.com/fluencelabs/rust-libp2p
synced 2025-06-27 08:41:36 +00:00
core/src/identity: Fix build with secp256k1 disabled (#2057)
This commit is contained in:
@ -208,7 +208,7 @@ impl PublicKey {
|
||||
#[cfg(not(feature = "secp256k1"))]
|
||||
keys_proto::KeyType::Secp256k1 => {
|
||||
log::debug!("support for secp256k1 was disabled at compile-time");
|
||||
Err("Unsupported".to_string().into())
|
||||
Err(DecodingError::new("Unsupported"))
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user