From 6d82adf9410352f60d5644848068ed71df1605e7 Mon Sep 17 00:00:00 2001 From: David Wong Date: Mon, 4 Dec 2023 08:34:42 -0800 Subject: [PATCH] fix deserialization issue in ciphersuite_deserialize (#589) --- frost-core/src/serialization.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 {