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.
1 parent c8d0a90 commit 8e865b2Copy full SHA for 8e865b2
lightning/src/offers/invoice.rs
@@ -425,6 +425,7 @@ impl UnsignedBolt12Invoice {
425
}
426
427
428
+// Allows passing a function that takes `UnsignedBolt12Invoice` to `merkle::sign_message`.
429
impl AsRef<TaggedHash> for UnsignedBolt12Invoice {
430
fn as_ref(&self) -> &TaggedHash {
431
&self.tagged_hash
lightning/src/offers/invoice_request.rs
@@ -391,6 +391,7 @@ impl UnsignedInvoiceRequest {
391
392
393
394
+// Allows passing a function that takes `UnsignedInvoiceRequest` to `merkle::sign_message`.
395
impl AsRef<TaggedHash> for UnsignedInvoiceRequest {
396
397
0 commit comments