Skip to content

Commit

Permalink
fix new clippy warnings (#164)
Browse files Browse the repository at this point in the history
  • Loading branch information
tessico authored Dec 16, 2022
1 parent 4e017ca commit b47a284
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion primitives/src/circuit/signature/schnorr.rs
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ where
chal_input.extend(msg);

let challenge = self.rescue_sponge_with_padding(&chal_input, 1)?[0];
let c_bits = self.unpack(challenge, field_bit_len::<F>() as usize)?;
let c_bits = self.unpack(challenge, field_bit_len::<F>())?;
Ok(c_bits[..challenge_bit_len::<F>()].to_vec())
}
}
Expand Down

0 comments on commit b47a284

Please sign in to comment.