@@ -1814,7 +1814,7 @@ where
18141814 #[cfg(splicing)]
18151815 pending_splice: None,
18161816 };
1817- let res = funded_channel.commitment_signed_initial_v2 (msg, best_block, signer_provider, logger)
1817+ let res = funded_channel.initial_commitment_signed_v2 (msg, best_block, signer_provider, logger)
18181818 .map(|monitor| (Some(monitor), None))
18191819 // TODO: Change to `inspect_err` when MSRV is high enough.
18201820 .map_err(|err| {
@@ -2963,7 +2963,7 @@ where
29632963 self.context.channel_state = ChannelState::FundingNegotiated(FundingNegotiatedFlags::new());
29642964
29652965 self.context.assert_no_commitment_advancement(transaction_number, "initial commitment_signed");
2966- let commitment_signed = self.context.get_initial_commitment_signed (&self.funding, logger);
2966+ let commitment_signed = self.context.get_initial_commitment_signed_v2 (&self.funding, logger);
29672967 let commitment_signed = match commitment_signed {
29682968 Some(commitment_signed) => commitment_signed,
29692969 // TODO(splicing): Support async signing
@@ -5524,7 +5524,7 @@ where
55245524 }
55255525
55265526 #[rustfmt::skip]
5527- fn get_initial_commitment_signed <L: Deref>(
5527+ fn get_initial_commitment_signed_v2 <L: Deref>(
55285528 &mut self, funding: &FundingScope, logger: &L
55295529 ) -> Option<msgs::CommitmentSigned>
55305530 where
@@ -6640,7 +6640,7 @@ where
66406640 }
66416641
66426642 #[rustfmt::skip]
6643- pub fn commitment_signed_initial_v2 <L: Deref>(
6643+ pub fn initial_commitment_signed_v2 <L: Deref>(
66446644 &mut self, msg: &msgs::CommitmentSigned, best_block: BestBlock, signer_provider: &SP, logger: &L
66456645 ) -> Result<ChannelMonitor<<SP::Target as SignerProvider>::EcdsaSigner>, ChannelError>
66466646 where L::Target: Logger
@@ -8443,7 +8443,7 @@ where
84438443 // `tx_signatures` erroneously, this may end up resulting in a force close.
84448444 //
84458445 // TODO(dual_funding): For async signing support we need to hold back `tx_signatures` until the `commitment_signed` is ready.
8446- let commitment_signed = self.context.get_initial_commitment_signed (&self.funding, logger)
8446+ let commitment_signed = self.context.get_initial_commitment_signed_v2 (&self.funding, logger)
84478447 // TODO(splicing): Support async signing
84488448 .ok_or_else(|| ChannelError::Close(
84498449 (
@@ -8471,7 +8471,7 @@ where
84718471 {
84728472 if self.context.channel_state.is_monitor_update_in_progress() {
84738473 // The `monitor_pending_tx_signatures` field should have already been
8474- // set in `commitment_signed_initial_v2 ` if we were up first for signing
8474+ // set in `initial_commitment_signed_v2 ` if we were up first for signing
84758475 // and had a monitor update in progress.
84768476 if session.holder_sends_tx_signatures_first() {
84778477 debug_assert!(self.context.monitor_pending_tx_signatures.is_some());
0 commit comments