Merge pull request #3006 from arik-so/arik/trampoline/2024-04-trampoline-onion-deseri...
[rust-lightning] / lightning / src / offers / invoice.rs
index d99e647e9dd495422866b298f8bfe0e0cb9db250..ecb0c80061ba3851b3975373b099111f9eb4ebf0 100644 (file)
@@ -503,6 +503,7 @@ for InvoiceBuilder<'a, DerivedSigningPubkey> {
 ///
 /// This is serialized as a TLV stream, which includes TLV records from the originating message. As
 /// such, it may include unknown, odd TLV records.
+#[derive(Clone)]
 pub struct UnsignedBolt12Invoice {
        bytes: Vec<u8>,
        contents: InvoiceContents,