Skip to content

Commit

Permalink
Appease the linter
Browse files Browse the repository at this point in the history
  • Loading branch information
AaronFeickert committed Aug 1, 2023
1 parent 4c2424f commit 6bb1491
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/ristretto/bulletproofs_plus.rs
Original file line number Diff line number Diff line change
Expand Up @@ -538,7 +538,7 @@ impl ExtendedRangeProofService for BulletproofsPlusService {

#[cfg(test)]
mod test {
use std::{borrow::Borrow, collections::HashMap};
use std::collections::HashMap;

use bulletproofs_plus::protocols::scalar_protocol::ScalarProtocol;
use curve25519_dalek::scalar::Scalar;
Expand Down Expand Up @@ -615,8 +615,9 @@ mod test {
value >> (bit_length - 1) <= 1
{
assert!(proof.is_ok());
assert!(bulletproofs_plus_service
.verify(&proof.unwrap(), factory.commit_value(&key, value).borrow()));
assert!(
bulletproofs_plus_service.verify(&proof.unwrap(), &factory.commit_value(&key, value))
);
} else {
assert!(proof.is_err());
}
Expand Down

0 comments on commit 6bb1491

Please sign in to comment.