chore: update crate version to 0.14.0 and MSRV to 1.84

This commit is contained in:
Bobbin Threadbare
2025-01-23 00:11:36 -08:00
parent a75dced6e9
commit 0e85398732
8 changed files with 84 additions and 77 deletions

View File

@@ -289,9 +289,9 @@ impl Deserializable for SignaturePoly {
}
m += 128;
if m >= 2048 {
return Err(DeserializationError::InvalidValue(
"Failed to decode signature: high bits {m} exceed 2048".to_string(),
));
return Err(DeserializationError::InvalidValue(format!(
"Failed to decode signature: high bits {m} exceed 2048",
)));
}
}
if s != 0 && m == 0 {

View File

@@ -270,7 +270,7 @@ pub fn path_to_text(path: &MerklePath) -> Result<String, fmt::Error> {
}
// remove the last ", "
if path.len() != 0 {
if !path.is_empty() {
s.pop();
s.pop();
}