Skip to content

Commit 8ae6460

Browse files
committed
f one less var
1 parent 49f682c commit 8ae6460

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
@@ -9868,8 +9868,7 @@ where
98689868
let reorg_height = funding.funding_tx_confirmation_height - 1;
98699869

98709870
let signer_config = None::<(ChainHash, &&dyn NodeSigner, &UserConfig)>;
9871-
let res = self.do_best_block_updated(reorg_height, None, signer_config, logger);
9872-
match res {
9871+
match self.do_best_block_updated(reorg_height, None, signer_config, logger) {
98739872
Ok((channel_ready, timed_out_htlcs, announcement_sigs)) => {
98749873
assert!(channel_ready.is_none(), "We can't generate a funding with 0 confirmations?");
98759874
assert!(timed_out_htlcs.is_empty(), "We can't have accepted HTLCs with a timeout before our funding confirmation?");

0 commit comments

Comments
 (0)