diff --git a/src/commitment.rs b/src/commitment.rs index 6f2ce73f..2bc54d85 100644 --- a/src/commitment.rs +++ b/src/commitment.rs @@ -156,7 +156,7 @@ impl Hash for HomomorphicCommitment

{ impl PartialEq for HomomorphicCommitment

{ fn eq(&self, other: &Self) -> bool { - self.as_public_key().eq(other.as_public_key()) + self.as_public_key() == other.as_public_key() } }