Skip to content

Commit 242c2f5

Browse files
committed
Remove unused temporaries.
1 parent d5db1fb commit 242c2f5

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

6043-
let temporary_channel_id = self.context.channel_id;
6044-
60456043
// Now that we're past error-generating stuff, update our local state:
60466044

60476045
self.context.channel_state = ChannelState::FundingCreated as u32;
@@ -6821,7 +6819,7 @@ impl<SP: Deref> InboundV1Channel<SP> where SP::Target: SignerProvider {
68216819
let mut channel = Channel {
68226820
context: self.context,
68236821
};
6824-
let channel_id = channel.context.channel_id.clone();
6822+
68256823
let need_channel_ready = channel.check_get_channel_ready(0).is_some();
68266824
channel.monitor_updating_paused(false, false, need_channel_ready, Vec::new(), Vec::new(), Vec::new());
68276825

0 commit comments

Comments
 (0)