@@ -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| {
@@ -5524,7 +5524,7 @@ where
5524
5524
self.assert_no_commitment_advancement(holder_commitment_transaction_number, "initial commitment_signed");
5525
5525
}
5526
5526
5527
- let commitment_signed = self.get_initial_commitment_signed (&funding, logger);
5527
+ let commitment_signed = self.get_initial_commitment_signed_v2 (&funding, logger);
5528
5528
let commitment_signed = match commitment_signed {
5529
5529
Some(commitment_signed) => commitment_signed,
5530
5530
// TODO(splicing): Support async signing
@@ -5615,7 +5615,7 @@ where
5615
5615
}
5616
5616
5617
5617
#[rustfmt::skip]
5618
- fn get_initial_commitment_signed <L: Deref>(
5618
+ fn get_initial_commitment_signed_v2 <L: Deref>(
5619
5619
&mut self, funding: &FundingScope, logger: &L
5620
5620
) -> Option<msgs::CommitmentSigned>
5621
5621
where
@@ -6929,7 +6929,7 @@ where
6929
6929
}
6930
6930
6931
6931
#[rustfmt::skip]
6932
- pub fn commitment_signed_initial_v2 <L: Deref>(
6932
+ pub fn initial_commitment_signed_v2 <L: Deref>(
6933
6933
&mut self, msg: &msgs::CommitmentSigned, best_block: BestBlock, signer_provider: &SP, logger: &L
6934
6934
) -> Result<ChannelMonitor<<SP::Target as SignerProvider>::EcdsaSigner>, ChannelError>
6935
6935
where L::Target: Logger
@@ -8798,7 +8798,7 @@ where
8798
8798
// if it has not received tx_signatures for that funding transaction AND
8799
8799
// if next_commitment_number is zero:
8800
8800
// MUST retransmit its commitment_signed for that funding transaction.
8801
- let commitment_signed = self.context.get_initial_commitment_signed (&self.funding, logger)
8801
+ let commitment_signed = self.context.get_initial_commitment_signed_v2 (&self.funding, logger)
8802
8802
// TODO(splicing): Support async signing
8803
8803
.ok_or_else(|| {
8804
8804
let message = "Failed to get signatures for new commitment_signed".to_owned();
0 commit comments