We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f8f8033 commit 357e31aCopy full SHA for 357e31a
lightning/src/ln/channel.rs
@@ -10356,8 +10356,7 @@ where
10356
let reorg_height = funding.funding_tx_confirmation_height - 1;
10357
10358
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 {
+ match self.do_best_block_updated(reorg_height, None, signer_config, logger) {
10361
Ok((channel_ready, timed_out_htlcs, announcement_sigs)) => {
10362
assert!(channel_ready.is_none(), "We can't generate a funding with 0 confirmations?");
10363
assert!(timed_out_htlcs.is_empty(), "We can't have accepted HTLCs with a timeout before our funding confirmation?");
0 commit comments