Skip to content

Commit f53fc7e

Browse files
committed
Remove unused temporaries.
1 parent 257c6a0 commit f53fc7e

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
@@ -6022,8 +6022,6 @@ impl<SP: Deref> OutboundV1Channel<SP> where SP::Target: SignerProvider {
60226022
self.context.channel_transaction_parameters.funding_outpoint = Some(funding_txo);
60236023
self.context.holder_signer.as_mut().provide_channel_parameters(&self.context.channel_transaction_parameters);
60246024

6025-
let temporary_channel_id = self.context.channel_id;
6026-
60276025
// Now that we're past error-generating stuff, update our local state:
60286026

60296027
self.context.channel_state = ChannelState::FundingCreated as u32;
@@ -6798,7 +6796,7 @@ impl<SP: Deref> InboundV1Channel<SP> where SP::Target: SignerProvider {
67986796
let mut channel = Channel {
67996797
context: self.context,
68006798
};
6801-
let channel_id = channel.context.channel_id.clone();
6799+
68026800
let need_channel_ready = channel.check_get_channel_ready(0).is_some();
68036801
channel.monitor_updating_paused(false, false, need_channel_ready, Vec::new(), Vec::new(), Vec::new());
68046802

0 commit comments

Comments
 (0)