@@ -3698,6 +3698,7 @@ pub(super) struct Channel<SP: Deref> where SP::Target: SignerProvider {
3698
3698
pub context: ChannelContext<SP>,
3699
3699
#[cfg(any(dual_funding, splicing))]
3700
3700
pub dual_funding_channel_context: Option<DualFundingChannelContext>,
3701
+ holder_commitment_point: HolderCommitmentPoint,
3701
3702
}
3702
3703
3703
3704
#[cfg(any(test, fuzzing))]
@@ -7926,10 +7927,12 @@ impl<SP: Deref> OutboundV1Channel<SP> where SP::Target: SignerProvider {
7926
7927
7927
7928
log_info!(logger, "Received funding_signed from peer for channel {}", &self.context.channel_id());
7928
7929
7930
+ let holder_commitment_point = self.context.holder_commitment_point;
7929
7931
let mut channel = Channel {
7930
7932
context: self.context,
7931
7933
#[cfg(any(dual_funding, splicing))]
7932
7934
dual_funding_channel_context: None,
7935
+ holder_commitment_point,
7933
7936
};
7934
7937
7935
7938
let need_channel_ready = channel.check_get_channel_ready(0, logger).is_some();
@@ -8224,10 +8227,12 @@ impl<SP: Deref> InboundV1Channel<SP> where SP::Target: SignerProvider {
8224
8227
8225
8228
// Promote the channel to a full-fledged one now that we have updated the state and have a
8226
8229
// `ChannelMonitor`.
8230
+ let holder_commitment_point = self.context.holder_commitment_point;
8227
8231
let mut channel = Channel {
8228
8232
context: self.context,
8229
8233
#[cfg(any(dual_funding, splicing))]
8230
8234
dual_funding_channel_context: None,
8235
+ holder_commitment_point,
8231
8236
};
8232
8237
let need_channel_ready = channel.check_get_channel_ready(0, logger).is_some();
8233
8238
channel.monitor_updating_paused(false, false, need_channel_ready, Vec::new(), Vec::new(), Vec::new());
@@ -9585,6 +9590,7 @@ impl<'a, 'b, 'c, ES: Deref, SP: Deref> ReadableArgs<(&'a ES, &'b SP, u32, &'c Ch
9585
9590
},
9586
9591
#[cfg(any(dual_funding, splicing))]
9587
9592
dual_funding_channel_context: None,
9593
+ holder_commitment_point,
9588
9594
})
9589
9595
}
9590
9596
}
0 commit comments