Skip to content

Commit 06f5ea0

Browse files
committed
Remove unused temporaries.
1 parent a5817c2 commit 06f5ea0

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

lightning/src/ln/channel.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5936,8 +5936,6 @@ impl<SP: Deref> OutboundV1Channel<SP> where SP::Target: SignerProvider {
59365936
self.context.channel_transaction_parameters.funding_outpoint = Some(funding_txo);
59375937
self.context.holder_signer.as_mut().provide_channel_parameters(&self.context.channel_transaction_parameters);
59385938

5939-
let temporary_channel_id = self.context.channel_id;
5940-
59415939
// Now that we're past error-generating stuff, update our local state:
59425940

59435941
self.context.channel_state = ChannelState::FundingCreated as u32;
@@ -6710,7 +6708,7 @@ impl<SP: Deref> InboundV1Channel<SP> where SP::Target: SignerProvider {
67106708
let mut channel = Channel {
67116709
context: self.context,
67126710
};
6713-
let channel_id = channel.context.channel_id.clone();
6711+
67146712
let need_channel_ready = channel.check_get_channel_ready(0).is_some();
67156713
channel.monitor_updating_paused(false, false, need_channel_ready, Vec::new(), Vec::new(), Vec::new());
67166714

0 commit comments

Comments
 (0)