Derive a PartialEq and Eq for PaymentError
authorbenthecarman <benthecarman@live.com>
Tue, 23 May 2023 21:18:39 +0000 (16:18 -0500)
committerbenthecarman <benthecarman@live.com>
Wed, 24 May 2023 22:40:48 +0000 (17:40 -0500)
commit3003f7d71991d3887f21048030f8b946fc5d4943
tree67ddd6c5b3629aa80fd1d661036dd4b38fadb486
parent498f2331459d8031031ef151a44c90d700aa8c7e
Derive a PartialEq and Eq for PaymentError

This lets users compare error types more easily without needing a match
statement.
lightning-invoice/src/payment.rs
lightning/src/ln/outbound_payment.rs