mirror of
https://github.com/lightningdevkit/rust-lightning.git
synced 2025-03-12 22:17:05 +01:00
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.
This commit is contained in:
parent
bb81598cba
commit
b0dc394505
1 changed files with 0 additions and 4 deletions
|
@ -3840,7 +3840,6 @@ pub(super) struct DualFundingChannelContext {
|
||||||
// Counterparty designates channel data owned by the another channel participant entity.
|
// Counterparty designates channel data owned by the another channel participant entity.
|
||||||
pub(super) struct Channel<SP: Deref> where SP::Target: SignerProvider {
|
pub(super) struct Channel<SP: Deref> where SP::Target: SignerProvider {
|
||||||
pub context: ChannelContext<SP>,
|
pub context: ChannelContext<SP>,
|
||||||
pub dual_funding_channel_context: Option<DualFundingChannelContext>,
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#[cfg(any(test, fuzzing))]
|
#[cfg(any(test, fuzzing))]
|
||||||
|
@ -8024,7 +8023,6 @@ impl<SP: Deref> OutboundV1Channel<SP> where SP::Target: SignerProvider {
|
||||||
|
|
||||||
let mut channel = Channel {
|
let mut channel = Channel {
|
||||||
context: self.context,
|
context: self.context,
|
||||||
dual_funding_channel_context: None,
|
|
||||||
};
|
};
|
||||||
|
|
||||||
let need_channel_ready = channel.check_get_channel_ready(0, logger).is_some();
|
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 {
|
||||||
// `ChannelMonitor`.
|
// `ChannelMonitor`.
|
||||||
let mut channel = Channel {
|
let mut channel = Channel {
|
||||||
context: self.context,
|
context: self.context,
|
||||||
dual_funding_channel_context: None,
|
|
||||||
};
|
};
|
||||||
let need_channel_ready = channel.check_get_channel_ready(0, logger).is_some();
|
let need_channel_ready = channel.check_get_channel_ready(0, logger).is_some();
|
||||||
channel.monitor_updating_paused(false, false, need_channel_ready, Vec::new(), Vec::new(), Vec::new());
|
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
|
||||||
blocked_monitor_updates: blocked_monitor_updates.unwrap(),
|
blocked_monitor_updates: blocked_monitor_updates.unwrap(),
|
||||||
is_manual_broadcast: is_manual_broadcast.unwrap_or(false),
|
is_manual_broadcast: is_manual_broadcast.unwrap_or(false),
|
||||||
},
|
},
|
||||||
dual_funding_channel_context: None,
|
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue