@@ -1665,12 +1665,12 @@ where
1665
1665
/// send our peer to begin the channel reconnection process.
1666
1666
#[rustfmt::skip]
1667
1667
pub fn peer_connected_get_handshake<L: Deref>(
1668
- &mut self, chain_hash: ChainHash, features : &InitFeatures, logger: &L,
1668
+ &mut self, chain_hash: ChainHash, their_features : &InitFeatures, logger: &L,
1669
1669
) -> ReconnectionMsg where L::Target: Logger {
1670
1670
match &mut self.phase {
1671
1671
ChannelPhase::Undefined => unreachable!(),
1672
1672
ChannelPhase::Funded(chan) =>
1673
- ReconnectionMsg::Reestablish(chan.get_channel_reestablish(features , logger)),
1673
+ ReconnectionMsg::Reestablish(chan.get_channel_reestablish(their_features , logger)),
1674
1674
ChannelPhase::UnfundedOutboundV1(chan) => {
1675
1675
chan.get_open_channel(chain_hash, logger)
1676
1676
.map(|msg| ReconnectionMsg::Open(OpenChannelMessage::V1(msg)))
@@ -10176,7 +10176,7 @@ where
10176
10176
/// self.remove_uncommitted_htlcs_and_mark_paused()'d
10177
10177
#[rustfmt::skip]
10178
10178
fn get_channel_reestablish<L: Deref>(
10179
- &mut self, features : &InitFeatures, logger: &L,
10179
+ &mut self, their_features : &InitFeatures, logger: &L,
10180
10180
) -> msgs::ChannelReestablish
10181
10181
where
10182
10182
L::Target: Logger,
@@ -10228,8 +10228,8 @@ where
10228
10228
your_last_per_commitment_secret: remote_last_secret,
10229
10229
my_current_per_commitment_point: dummy_pubkey,
10230
10230
next_funding_txid: self.maybe_get_next_funding_txid(),
10231
- your_last_funding_locked_txid: self.maybe_get_your_last_funding_locked_txid(features ),
10232
- my_current_funding_locked_txid: self.maybe_get_my_current_funding_locked_txid(features ),
10231
+ your_last_funding_locked_txid: self.maybe_get_your_last_funding_locked_txid(their_features ),
10232
+ my_current_funding_locked_txid: self.maybe_get_my_current_funding_locked_txid(their_features ),
10233
10233
}
10234
10234
}
10235
10235
0 commit comments