Skip to content

Commit

Permalink
Fix lint error
Browse files Browse the repository at this point in the history
  • Loading branch information
AaronFeickert committed Feb 2, 2024
1 parent 017bb2c commit d76ea89
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/commitment.rs
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ impl<P: PublicKey> Hash for HomomorphicCommitment<P> {

impl<P: PublicKey> PartialEq for HomomorphicCommitment<P> {
fn eq(&self, other: &Self) -> bool {
self.as_public_key().eq(other.as_public_key())
self.as_public_key() == other.as_public_key()
}
}

Expand Down

0 comments on commit d76ea89

Please sign in to comment.