mirror of
https://github.com/arnaucube/miden-crypto.git
synced 2026-01-11 16:41:29 +01:00
chore: update crate version to 0.14.0 and MSRV to 1.84
This commit is contained in:
@@ -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 {
|
||||
|
||||
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user