Skip to content

Commit 8965426

Browse files
committed
f - inline local variable
1 parent d203d91 commit 8965426

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

lightning/src/ln/channel.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2852,7 +2852,6 @@ where
28522852
where
28532853
L::Target: Logger
28542854
{
2855-
let our_funding_satoshis = self.funding_negotiation_context.our_funding_contribution_satoshis;
28562855
let transaction_number = self.unfunded_context.transaction_number();
28572856

28582857
let mut output_index = None;
@@ -2887,7 +2886,7 @@ where
28872886
};
28882887

28892888
let funding_ready_for_sig_event = if signing_session.local_inputs_count() == 0 {
2890-
debug_assert_eq!(our_funding_satoshis, 0);
2889+
debug_assert_eq!(self.funding_negotiation_context.our_funding_contribution_satoshis, 0);
28912890
if signing_session.provide_holder_witnesses(self.context.channel_id, Vec::new()).is_err() {
28922891
debug_assert!(
28932892
false,

0 commit comments

Comments
 (0)