@@ -1152,7 +1152,7 @@ pub(crate) struct ChannelMonitorImpl<Signer: EcdsaChannelSigner> {
1152
1152
channel_keys_id : [ u8 ; 32 ] ,
1153
1153
holder_revocation_basepoint : RevocationBasepoint ,
1154
1154
channel_id : ChannelId ,
1155
- first_confirmed_funding_txo : OutPoint ,
1155
+ first_negotiated_funding_txo : OutPoint ,
1156
1156
1157
1157
counterparty_commitment_params : CounterpartyCommitmentParameters ,
1158
1158
@@ -1575,7 +1575,7 @@ impl<Signer: EcdsaChannelSigner> Writeable for ChannelMonitorImpl<Signer> {
1575
1575
( 21 , self . balances_empty_height, option) ,
1576
1576
( 23 , self . holder_pays_commitment_tx_fee, option) ,
1577
1577
( 25 , self . payment_preimages, required) ,
1578
- ( 27 , self . first_confirmed_funding_txo , required) ,
1578
+ ( 27 , self . first_negotiated_funding_txo , required) ,
1579
1579
( 29 , self . initial_counterparty_commitment_tx, option) ,
1580
1580
( 31 , self . funding. channel_parameters, required) ,
1581
1581
( 32 , self . pending_funding, optional_vec) ,
@@ -1761,7 +1761,7 @@ impl<Signer: EcdsaChannelSigner> ChannelMonitor<Signer> {
1761
1761
channel_keys_id,
1762
1762
holder_revocation_basepoint,
1763
1763
channel_id,
1764
- first_confirmed_funding_txo : funding_outpoint,
1764
+ first_negotiated_funding_txo : funding_outpoint,
1765
1765
1766
1766
counterparty_commitment_params,
1767
1767
their_cur_per_commitment_points : None ,
@@ -1820,7 +1820,7 @@ impl<Signer: EcdsaChannelSigner> ChannelMonitor<Signer> {
1820
1820
/// [`Persist`]: crate::chain::chainmonitor::Persist
1821
1821
pub fn persistence_key ( & self ) -> MonitorName {
1822
1822
let inner = self . inner . lock ( ) . unwrap ( ) ;
1823
- let funding_outpoint = inner. first_confirmed_funding_txo ;
1823
+ let funding_outpoint = inner. first_negotiated_funding_txo ;
1824
1824
let channel_id = inner. channel_id ;
1825
1825
if ChannelId :: v1_from_funding_outpoint ( funding_outpoint) == channel_id {
1826
1826
MonitorName :: V1Channel ( funding_outpoint)
@@ -5724,7 +5724,7 @@ impl<'a, 'b, ES: EntropySource, SP: SignerProvider> ReadableArgs<(&'a ES, &'b SP
5724
5724
let mut channel_id = None ;
5725
5725
let mut holder_pays_commitment_tx_fee = None ;
5726
5726
let mut payment_preimages_with_info: Option < HashMap < _ , _ > > = None ;
5727
- let mut first_confirmed_funding_txo = RequiredWrapper ( None ) ;
5727
+ let mut first_negotiated_funding_txo = RequiredWrapper ( None ) ;
5728
5728
let mut channel_parameters = None ;
5729
5729
let mut pending_funding = None ;
5730
5730
read_tlv_fields ! ( reader, {
@@ -5741,7 +5741,7 @@ impl<'a, 'b, ES: EntropySource, SP: SignerProvider> ReadableArgs<(&'a ES, &'b SP
5741
5741
( 21 , balances_empty_height, option) ,
5742
5742
( 23 , holder_pays_commitment_tx_fee, option) ,
5743
5743
( 25 , payment_preimages_with_info, option) ,
5744
- ( 27 , first_confirmed_funding_txo , ( default_value, outpoint) ) ,
5744
+ ( 27 , first_negotiated_funding_txo , ( default_value, outpoint) ) ,
5745
5745
( 29 , initial_counterparty_commitment_tx, option) ,
5746
5746
( 31 , channel_parameters, ( option: ReadableArgs , None ) ) ,
5747
5747
( 32 , pending_funding, optional_vec) ,
@@ -5873,7 +5873,7 @@ impl<'a, 'b, ES: EntropySource, SP: SignerProvider> ReadableArgs<(&'a ES, &'b SP
5873
5873
channel_keys_id,
5874
5874
holder_revocation_basepoint,
5875
5875
channel_id,
5876
- first_confirmed_funding_txo : first_confirmed_funding_txo . 0 . unwrap ( ) ,
5876
+ first_negotiated_funding_txo : first_negotiated_funding_txo . 0 . unwrap ( ) ,
5877
5877
5878
5878
counterparty_commitment_params,
5879
5879
their_cur_per_commitment_points,
0 commit comments