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 8ac7725 commit ceae1c4
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 @@ -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 {
Expand Down

0 comments on commit ceae1c4

Please sign in to comment.