Skip to content

Commit ceae1c4

Browse files
committed
f - remove dangling reference to uninitialized
1 parent 8ac7725 commit ceae1c4

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

lightning/src/ln/channel.rs

-1
Original file line numberDiff line numberDiff line change
@@ -10101,7 +10101,6 @@ impl<'a, 'b, 'c, ES: Deref, SP: Deref> ReadableArgs<(&'a ES, &'b SP, u32, &'c Ch
1010110101
transaction_number: cur_holder_commitment_transaction_number, current,
1010210102
},
1010310103
(_, _) => {
10104-
// TODO(async_signing): remove this expect with the Uninitialized variant
1010510104
let current = holder_signer.get_per_commitment_point(cur_holder_commitment_transaction_number, &secp_ctx)
1010610105
.expect("Must be able to derive the current commitment point upon channel restoration");
1010710106
HolderCommitmentPoint::PendingNext {

0 commit comments

Comments
 (0)