We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 60c1073 + ec7d665 commit 6cafba9Copy full SHA for 6cafba9
lightning-invoice/src/lib.rs
@@ -504,7 +504,7 @@ pub struct Bolt11InvoiceSignature(pub RecoverableSignature);
504
505
impl PartialOrd for Bolt11InvoiceSignature {
506
fn partial_cmp(&self, other: &Self) -> Option<Ordering> {
507
- self.0.serialize_compact().1.partial_cmp(&other.0.serialize_compact().1)
+ Some(self.cmp(other))
508
}
509
510
0 commit comments