Skip to content

Commit b0dc394

Browse files
committed
Remove unused Channel::dual_funding_channel_context
For now this is unneeded as we do not provide any inputs as channel acceptor and we do not allow creating outbound channels yet. It will be re-added when that functionality is introduced.
1 parent bb81598 commit b0dc394

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

lightning/src/ln/channel.rs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3840,7 +3840,6 @@ pub(super) struct DualFundingChannelContext {
38403840
// Counterparty designates channel data owned by the another channel participant entity.
38413841
pub(super) struct Channel<SP: Deref> where SP::Target: SignerProvider {
38423842
pub context: ChannelContext<SP>,
3843-
pub dual_funding_channel_context: Option<DualFundingChannelContext>,
38443843
}
38453844

38463845
#[cfg(any(test, fuzzing))]
@@ -8024,7 +8023,6 @@ impl<SP: Deref> OutboundV1Channel<SP> where SP::Target: SignerProvider {
80248023

80258024
let mut channel = Channel {
80268025
context: self.context,
8027-
dual_funding_channel_context: None,
80288026
};
80298027

80308028
let need_channel_ready = channel.check_get_channel_ready(0, logger).is_some();
@@ -8253,7 +8251,6 @@ impl<SP: Deref> InboundV1Channel<SP> where SP::Target: SignerProvider {
82538251
// `ChannelMonitor`.
82548252
let mut channel = Channel {
82558253
context: self.context,
8256-
dual_funding_channel_context: None,
82578254
};
82588255
let need_channel_ready = channel.check_get_channel_ready(0, logger).is_some();
82598256
channel.monitor_updating_paused(false, false, need_channel_ready, Vec::new(), Vec::new(), Vec::new());
@@ -9610,7 +9607,6 @@ impl<'a, 'b, 'c, ES: Deref, SP: Deref> ReadableArgs<(&'a ES, &'b SP, u32, &'c Ch
96109607
blocked_monitor_updates: blocked_monitor_updates.unwrap(),
96119608
is_manual_broadcast: is_manual_broadcast.unwrap_or(false),
96129609
},
9613-
dual_funding_channel_context: None,
96149610
})
96159611
}
96169612
}

0 commit comments

Comments
 (0)