@@ -1124,7 +1124,7 @@ pub(crate) struct ChannelMonitorImpl<Signer: EcdsaChannelSigner> {
1124
1124
channel_keys_id : [ u8 ; 32 ] ,
1125
1125
holder_revocation_basepoint : RevocationBasepoint ,
1126
1126
channel_id : ChannelId ,
1127
- first_confirmed_funding_txo : OutPoint ,
1127
+ first_negotiated_funding_txo : OutPoint ,
1128
1128
1129
1129
counterparty_commitment_params : CounterpartyCommitmentParameters ,
1130
1130
@@ -1549,7 +1549,7 @@ impl<Signer: EcdsaChannelSigner> Writeable for ChannelMonitorImpl<Signer> {
1549
1549
( 21 , self . balances_empty_height, option) ,
1550
1550
( 23 , self . holder_pays_commitment_tx_fee, option) ,
1551
1551
( 25 , self . payment_preimages, required) ,
1552
- ( 27 , self . first_confirmed_funding_txo , required) ,
1552
+ ( 27 , self . first_negotiated_funding_txo , required) ,
1553
1553
( 29 , self . initial_counterparty_commitment_tx, option) ,
1554
1554
( 31 , self . funding. channel_parameters, required) ,
1555
1555
( 32 , self . pending_funding, optional_vec) ,
@@ -1733,7 +1733,7 @@ impl<Signer: EcdsaChannelSigner> ChannelMonitor<Signer> {
1733
1733
channel_keys_id,
1734
1734
holder_revocation_basepoint,
1735
1735
channel_id,
1736
- first_confirmed_funding_txo : funding_outpoint,
1736
+ first_negotiated_funding_txo : funding_outpoint,
1737
1737
1738
1738
counterparty_commitment_params,
1739
1739
their_cur_per_commitment_points : None ,
@@ -1792,7 +1792,7 @@ impl<Signer: EcdsaChannelSigner> ChannelMonitor<Signer> {
1792
1792
/// [`Persist`]: crate::chain::chainmonitor::Persist
1793
1793
pub fn persistence_key ( & self ) -> MonitorName {
1794
1794
let inner = self . inner . lock ( ) . unwrap ( ) ;
1795
- let funding_outpoint = inner. first_confirmed_funding_txo ;
1795
+ let funding_outpoint = inner. first_negotiated_funding_txo ;
1796
1796
let channel_id = inner. channel_id ;
1797
1797
if ChannelId :: v1_from_funding_outpoint ( funding_outpoint) == channel_id {
1798
1798
MonitorName :: V1Channel ( funding_outpoint)
@@ -5865,7 +5865,7 @@ impl<'a, 'b, ES: EntropySource, SP: SignerProvider> ReadableArgs<(&'a ES, &'b SP
5865
5865
let mut channel_id = None ;
5866
5866
let mut holder_pays_commitment_tx_fee = None ;
5867
5867
let mut payment_preimages_with_info: Option < HashMap < _ , _ > > = None ;
5868
- let mut first_confirmed_funding_txo = RequiredWrapper ( None ) ;
5868
+ let mut first_negotiated_funding_txo = RequiredWrapper ( None ) ;
5869
5869
let mut channel_parameters = None ;
5870
5870
let mut pending_funding = None ;
5871
5871
read_tlv_fields ! ( reader, {
@@ -5882,7 +5882,7 @@ impl<'a, 'b, ES: EntropySource, SP: SignerProvider> ReadableArgs<(&'a ES, &'b SP
5882
5882
( 21 , balances_empty_height, option) ,
5883
5883
( 23 , holder_pays_commitment_tx_fee, option) ,
5884
5884
( 25 , payment_preimages_with_info, option) ,
5885
- ( 27 , first_confirmed_funding_txo , ( default_value, outpoint) ) ,
5885
+ ( 27 , first_negotiated_funding_txo , ( default_value, outpoint) ) ,
5886
5886
( 29 , initial_counterparty_commitment_tx, option) ,
5887
5887
( 31 , channel_parameters, ( option: ReadableArgs , None ) ) ,
5888
5888
( 32 , pending_funding, optional_vec) ,
@@ -6012,7 +6012,7 @@ impl<'a, 'b, ES: EntropySource, SP: SignerProvider> ReadableArgs<(&'a ES, &'b SP
6012
6012
channel_keys_id,
6013
6013
holder_revocation_basepoint,
6014
6014
channel_id,
6015
- first_confirmed_funding_txo : first_confirmed_funding_txo . 0 . unwrap ( ) ,
6015
+ first_negotiated_funding_txo : first_negotiated_funding_txo . 0 . unwrap ( ) ,
6016
6016
6017
6017
counterparty_commitment_params,
6018
6018
their_cur_per_commitment_points,
0 commit comments