diff --git a/frost-core/src/serialization.rs b/frost-core/src/serialization.rs index 422d0566..d98416f7 100644 --- a/frost-core/src/serialization.rs +++ b/frost-core/src/serialization.rs @@ -120,7 +120,7 @@ where C: Ciphersuite, { if deserializer.is_human_readable() { - let s: &str = serde::de::Deserialize::deserialize(deserializer)?; + let s: String = serde::de::Deserialize::deserialize(deserializer)?; if s != C::ID { Err(serde::de::Error::custom("wrong ciphersuite")) } else {