Skip to content

Commit 4aae0ff

Browse files
committed
f - remove dangling reference to uninitialized
1 parent 221494c commit 4aae0ff

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
@@ -10103,7 +10103,6 @@ impl<'a, 'b, 'c, ES: Deref, SP: Deref> ReadableArgs<(&'a ES, &'b SP, u32, &'c Ch
1010310103
transaction_number: cur_holder_commitment_transaction_number, current,
1010410104
},
1010510105
(_, _) => {
10106-
// TODO(async_signing): remove this expect with the Uninitialized variant
1010710106
let current = holder_signer.get_per_commitment_point(cur_holder_commitment_transaction_number, &secp_ctx)
1010810107
.expect("Must be able to derive the current commitment point upon channel restoration");
1010910108
HolderCommitmentPoint::PendingNext {

0 commit comments

Comments
 (0)