diff --git a/payjoin/src/send/mod.rs b/payjoin/src/send/mod.rs index d689f403..a7f84eb8 100644 --- a/payjoin/src/send/mod.rs +++ b/payjoin/src/send/mod.rs @@ -229,8 +229,6 @@ impl<'a> SenderBuilder<'a> { fee_contribution, payee, min_fee_rate: self.min_fee_rate, - #[cfg(feature = "v2")] - reply_pair: HpkeKeyPair::gen_keypair(), }) } } @@ -244,8 +242,6 @@ pub struct Sender { fee_contribution: Option<(bitcoin::Amount, usize)>, min_fee_rate: FeeRate, payee: ScriptBuf, - #[cfg(feature = "v2")] - reply_pair: HpkeKeyPair, } impl Sender {