Correct clippy, remove Monero build depends

This commit is contained in:
Luke Parker
2022-07-26 03:48:46 -04:00
parent 696da8228e
commit 7d9834be87
2 changed files with 1 additions and 7 deletions

View File

@@ -270,7 +270,7 @@ impl Clsag {
) -> Result<(), ClsagError> {
// Preliminary checks. s, c1, and points must also be encoded canonically, which isn't checked
// here
if ring.len() == 0 {
if ring.is_empty() {
Err(ClsagError::InvalidRing)?;
}
if ring.len() != self.s.len() {