Skip to content

Commit dbe9840

Browse files
committed
Remove unused temporaries.
1 parent 48aafb5 commit dbe9840

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

5915-
let temporary_channel_id = self.context.channel_id;
5916-
59175915
// Now that we're past error-generating stuff, update our local state:
59185916

59195917
self.context.channel_state = ChannelState::FundingCreated as u32;
@@ -6686,7 +6684,7 @@ impl<SP: Deref> InboundV1Channel<SP> where SP::Target: SignerProvider {
66866684
let mut channel = Channel {
66876685
context: self.context,
66886686
};
6689-
let channel_id = channel.context.channel_id.clone();
6687+
66906688
let need_channel_ready = channel.check_get_channel_ready(0).is_some();
66916689
channel.monitor_updating_paused(false, false, need_channel_ready, Vec::new(), Vec::new(), Vec::new());
66926690

0 commit comments

Comments
 (0)