File tree 1 file changed +1
-6
lines changed
1 file changed +1
-6
lines changed Original file line number Diff line number Diff line change @@ -1167,15 +1167,10 @@ impl<ChannelSigner: WriteableEcdsaChannelSigner> OnchainTxHandler<ChannelSigner>
1167
1167
. map ( |( htlc_idx, htlc) | {
1168
1168
let counterparty_htlc_sig = holder_commitment. counterparty_htlc_sigs [ htlc_idx] ;
1169
1169
1170
- // TODO(waterson) fallible: move this somewhere!
1171
- let per_commitment_point = self . signer . get_per_commitment_point (
1172
- trusted_tx. commitment_number ( ) , & self . secp_ctx ,
1173
- ) . unwrap ( ) ;
1174
-
1175
1170
ExternalHTLCClaim {
1176
1171
commitment_txid : trusted_tx. txid ( ) ,
1177
1172
per_commitment_number : trusted_tx. commitment_number ( ) ,
1178
- per_commitment_point : per_commitment_point,
1173
+ per_commitment_point : trusted_tx . per_commitment_point ( ) ,
1179
1174
htlc : htlc. clone ( ) ,
1180
1175
preimage : * preimage,
1181
1176
counterparty_sig : counterparty_htlc_sig,
You can’t perform that action at this time.
0 commit comments