@@ -1878,7 +1878,7 @@ where
1878
1878
#[cfg(splicing)]
1879
1879
pending_splice: None,
1880
1880
};
1881
- let res = funded_channel.commitment_signed_initial_v2 (msg, best_block, signer_provider, logger)
1881
+ let res = funded_channel.initial_commitment_signed_v2 (msg, best_block, signer_provider, logger)
1882
1882
.map(|monitor| (Some(monitor), None))
1883
1883
// TODO: Change to `inspect_err` when MSRV is high enough.
1884
1884
.map_err(|err| {
@@ -5523,7 +5523,7 @@ where
5523
5523
self.assert_no_commitment_advancement(holder_commitment_transaction_number, "initial commitment_signed");
5524
5524
}
5525
5525
5526
- let commitment_signed = self.get_initial_commitment_signed (&funding, logger);
5526
+ let commitment_signed = self.get_initial_commitment_signed_v2 (&funding, logger);
5527
5527
let commitment_signed = match commitment_signed {
5528
5528
Some(commitment_signed) => commitment_signed,
5529
5529
// TODO(splicing): Support async signing
@@ -5616,7 +5616,7 @@ where
5616
5616
}
5617
5617
5618
5618
#[rustfmt::skip]
5619
- fn get_initial_commitment_signed <L: Deref>(
5619
+ fn get_initial_commitment_signed_v2 <L: Deref>(
5620
5620
&mut self, funding: &FundingScope, logger: &L
5621
5621
) -> Option<msgs::CommitmentSigned>
5622
5622
where
@@ -6930,7 +6930,7 @@ where
6930
6930
}
6931
6931
6932
6932
#[rustfmt::skip]
6933
- pub fn commitment_signed_initial_v2 <L: Deref>(
6933
+ pub fn initial_commitment_signed_v2 <L: Deref>(
6934
6934
&mut self, msg: &msgs::CommitmentSigned, best_block: BestBlock, signer_provider: &SP, logger: &L
6935
6935
) -> Result<ChannelMonitor<<SP::Target as SignerProvider>::EcdsaSigner>, ChannelError>
6936
6936
where L::Target: Logger
@@ -8799,7 +8799,7 @@ where
8799
8799
// if it has not received tx_signatures for that funding transaction AND
8800
8800
// if next_commitment_number is zero:
8801
8801
// MUST retransmit its commitment_signed for that funding transaction.
8802
- let commitment_signed = self.context.get_initial_commitment_signed (&self.funding, logger)
8802
+ let commitment_signed = self.context.get_initial_commitment_signed_v2 (&self.funding, logger)
8803
8803
// TODO(splicing): Support async signing
8804
8804
.ok_or_else(|| {
8805
8805
let message = "Failed to get signatures for new commitment_signed".to_owned();
0 commit comments