Skip to content

Commit

Permalink
f - remove dangling reference to uninitialized
Browse files Browse the repository at this point in the history
  • Loading branch information
alecchendev committed Dec 11, 2024
1 parent 221494c commit 4aae0ff
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion lightning/src/ln/channel.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10103,7 +10103,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 {
Expand Down

0 comments on commit 4aae0ff

Please sign in to comment.