@@ -605,7 +605,7 @@ const CHECK_CLTV_EXPIRY_SANITY_2: u32 = MIN_CLTV_EXPIRY_DELTA as u32 - LATENCY_G
605605/// Channel parameters which apply to our counterparty. These are split out from [`ChannelDetails`]
606606/// to better separate parameters.
607607#[ derive( Clone , Debug , PartialEq ) ]
608- pub struct ChannelCounterpartyParameters {
608+ pub struct ChannelCounterparty {
609609 /// The node_id of our counterparty
610610 pub node_id : PublicKey ,
611611 /// The Features the channel counterparty provided upon last connection.
@@ -634,7 +634,7 @@ pub struct ChannelDetails {
634634 /// lifetime of the channel.
635635 pub channel_id : [ u8 ; 32 ] ,
636636 /// Parameters which apply to our counterparty. See individual fields for more information.
637- pub counterparty : ChannelCounterpartyParameters ,
637+ pub counterparty : ChannelCounterparty ,
638638 /// The Channel's funding transaction output, if we've negotiated the funding transaction with
639639 /// our counterparty already.
640640 ///
@@ -1178,7 +1178,7 @@ impl<Signer: Sign, M: Deref, T: Deref, K: Deref, F: Deref, L: Deref> ChannelMana
11781178 channel. get_holder_counterparty_selected_channel_reserve_satoshis ( ) ;
11791179 res. push ( ChannelDetails {
11801180 channel_id : ( * channel_id) . clone ( ) ,
1181- counterparty : ChannelCounterpartyParameters {
1181+ counterparty : ChannelCounterparty {
11821182 node_id : channel. get_counterparty_node_id ( ) ,
11831183 features : InitFeatures :: empty ( ) ,
11841184 unspendable_punishment_reserve : to_remote_reserve_satoshis,
0 commit comments