Implement Eq and Hash for Bolt12Invoice
authorJeffrey Czyz <jkczyz@gmail.com>
Mon, 11 Mar 2024 23:31:50 +0000 (18:31 -0500)
committerJeffrey Czyz <jkczyz@gmail.com>
Mon, 15 Apr 2024 21:11:13 +0000 (16:11 -0500)
commit01814dcef28fd13e98223cb1fbc1d2d6abe3776d
treef93e032e72a1c1f6f874896cc1b2c40f7bb3d5dd
parente239c92cdad88f441367e31b115f3b1bbf5b9c8f
Implement Eq and Hash for Bolt12Invoice

Bolt12Invoice will be added to a new Event::InvoiceGenerated variant.
These traits along with PartialEq are required to be implemented for any
type used in an Event.
lightning/src/offers/invoice.rs