Skip to content

Commit 00a4ac0

Browse files
committed
f - their_features
1 parent 297bfa0 commit 00a4ac0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lightning/src/ln/channel.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8277,7 +8277,7 @@ where
82778277
#[rustfmt::skip]
82788278
pub fn channel_reestablish<L: Deref, NS: Deref>(
82798279
&mut self, msg: &msgs::ChannelReestablish, logger: &L, node_signer: &NS,
8280-
chain_hash: ChainHash, features: &InitFeatures, user_config: &UserConfig,
8280+
chain_hash: ChainHash, their_features: &InitFeatures, user_config: &UserConfig,
82818281
best_block: &BestBlock,
82828282
) -> Result<ReestablishResponses, ChannelError>
82838283
where
@@ -8402,7 +8402,7 @@ where
84028402
let is_awaiting_remote_revoke = self.context.channel_state.is_awaiting_remote_revoke();
84038403
let next_counterparty_commitment_number = INITIAL_COMMITMENT_NUMBER - self.context.cur_counterparty_commitment_transaction_number + if is_awaiting_remote_revoke { 1 } else { 0 };
84048404

8405-
let splicing_negotiated = features.supports_splicing();
8405+
let splicing_negotiated = their_features.supports_splicing();
84068406
let channel_ready = if msg.next_local_commitment_number == 1 && INITIAL_COMMITMENT_NUMBER - self.holder_commitment_point.transaction_number() == 1 && !splicing_negotiated {
84078407
// We should never have to worry about MonitorUpdateInProgress resending ChannelReady
84088408
self.get_channel_ready(logger)

0 commit comments

Comments
 (0)