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
No known key found for this signature in database
GPG key ID: F9F1386DB1E119B6
2 changed files with 1 additions and 7 deletions

View file

@ -11,12 +11,6 @@ runs:
solc-select install 0.8.9
solc-select use 0.8.9
- name: Install Monero Dependencies
shell: bash
run: |
sudo apt update
sudo apt install build-essential libboost-all-dev libsodium-dev
- name: Install WASM toolchain
uses: actions-rs/toolchain@v1
with:

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() {