Skip to content

Commit 357e31a

Browse files
committed
f one less var
1 parent f8f8033 commit 357e31a

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
@@ -10356,8 +10356,7 @@ where
1035610356
let reorg_height = funding.funding_tx_confirmation_height - 1;
1035710357

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

0 commit comments

Comments
 (0)