diff --git a/src/primitives/redpallas.rs b/src/primitives/redpallas.rs index a414bf285..7690312a9 100644 --- a/src/primitives/redpallas.rs +++ b/src/primitives/redpallas.rs @@ -101,7 +101,7 @@ impl Eq for VerificationKey {} impl PartialOrd for VerificationKey { fn partial_cmp(&self, other: &Self) -> Option { - <[u8; 32]>::from(self).partial_cmp(&<[u8; 32]>::from(other)) + Some(self.cmp(other)) } }