diff --git a/payjoin/src/receive/mod.rs b/payjoin/src/receive/mod.rs index c24d08bc..4d6256fb 100644 --- a/payjoin/src/receive/mod.rs +++ b/payjoin/src/receive/mod.rs @@ -297,6 +297,7 @@ pub trait Headers { /// transaction with extract_tx_to_schedule_broadcast() and schedule, followed by checking /// that the transaction can be broadcast with check_can_broadcast. Otherwise it is safe to /// call assume_interactive_receive to proceed with validation. +#[derive(Debug, Clone)] pub struct UncheckedProposal { psbt: Psbt, params: Params, diff --git a/payjoin/src/receive/optional_parameters.rs b/payjoin/src/receive/optional_parameters.rs index 711d84f8..ab40d992 100644 --- a/payjoin/src/receive/optional_parameters.rs +++ b/payjoin/src/receive/optional_parameters.rs @@ -4,7 +4,7 @@ use std::fmt; use bitcoin::FeeRate; use log::warn; -#[derive(Debug)] +#[derive(Debug, Clone)] pub(crate) struct Params { // version // v: usize,