clippy: zk-token-sdk lints (#34633)
This commit is contained in:
parent
1bb2f55235
commit
59dd007899
|
@ -59,10 +59,10 @@ impl BatchedRangeProofContext {
|
|||
}
|
||||
|
||||
fn new(
|
||||
commitments: &Vec<&PedersenCommitment>,
|
||||
amounts: &Vec<u64>,
|
||||
bit_lengths: &Vec<usize>,
|
||||
openings: &Vec<&PedersenOpening>,
|
||||
commitments: &[&PedersenCommitment],
|
||||
amounts: &[u64],
|
||||
bit_lengths: &[usize],
|
||||
openings: &[&PedersenOpening],
|
||||
) -> Result<Self, ProofGenerationError> {
|
||||
// the number of commitments is capped at 8
|
||||
let num_commitments = commitments.len();
|
||||
|
|
Loading…
Reference in New Issue