From ceae1c4a67d2fe92eb7618aa3147b568dd4b49a3 Mon Sep 17 00:00:00 2001 From: Alec Chen Date: Mon, 9 Dec 2024 16:08:45 -0800 Subject: [PATCH] f - remove dangling reference to uninitialized --- lightning/src/ln/channel.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/lightning/src/ln/channel.rs b/lightning/src/ln/channel.rs index f771b727279..26d2996746c 100644 --- a/lightning/src/ln/channel.rs +++ b/lightning/src/ln/channel.rs @@ -10101,7 +10101,6 @@ impl<'a, 'b, 'c, ES: Deref, SP: Deref> ReadableArgs<(&'a ES, &'b SP, u32, &'c Ch transaction_number: cur_holder_commitment_transaction_number, current, }, (_, _) => { - // TODO(async_signing): remove this expect with the Uninitialized variant let current = holder_signer.get_per_commitment_point(cur_holder_commitment_transaction_number, &secp_ctx) .expect("Must be able to derive the current commitment point upon channel restoration"); HolderCommitmentPoint::PendingNext {