File tree 2 files changed +4
-3
lines changed 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -3105,9 +3105,7 @@ impl<Signer: EcdsaChannelSigner> ChannelMonitorImpl<Signer> {
3105
3105
} ,
3106
3106
commitment_txid : htlc. commitment_txid ,
3107
3107
per_commitment_number : htlc. per_commitment_number ,
3108
- per_commitment_point : self . onchain_tx_handler . signer . get_per_commitment_point (
3109
- htlc. per_commitment_number , & self . onchain_tx_handler . secp_ctx ,
3110
- ) ,
3108
+ per_commitment_point : htlc. per_commitment_point ,
3111
3109
feerate_per_kw : 0 ,
3112
3110
htlc : htlc. htlc ,
3113
3111
preimage : htlc. preimage ,
Original file line number Diff line number Diff line change @@ -20,6 +20,7 @@ use bitcoin::blockdata::script::{Script, ScriptBuf};
20
20
use bitcoin:: hashes:: { Hash , HashEngine } ;
21
21
use bitcoin:: hashes:: sha256:: Hash as Sha256 ;
22
22
use bitcoin:: hash_types:: { Txid , BlockHash } ;
23
+ use bitcoin:: secp256k1:: PublicKey ;
23
24
use bitcoin:: secp256k1:: { Secp256k1 , ecdsa:: Signature } ;
24
25
use bitcoin:: secp256k1;
25
26
@@ -180,6 +181,7 @@ pub(crate) struct ExternalHTLCClaim {
180
181
pub ( crate ) htlc : HTLCOutputInCommitment ,
181
182
pub ( crate ) preimage : Option < PaymentPreimage > ,
182
183
pub ( crate ) counterparty_sig : Signature ,
184
+ pub ( crate ) per_commitment_point : PublicKey ,
183
185
}
184
186
185
187
// Represents the different types of claims for which events are yielded externally to satisfy said
@@ -1231,6 +1233,7 @@ impl<ChannelSigner: EcdsaChannelSigner> OnchainTxHandler<ChannelSigner> {
1231
1233
htlc : htlc. clone ( ) ,
1232
1234
preimage : * preimage,
1233
1235
counterparty_sig : counterparty_htlc_sig,
1236
+ per_commitment_point : trusted_tx. per_commitment_point ( ) ,
1234
1237
}
1235
1238
} )
1236
1239
} ;
You can’t perform that action at this time.
0 commit comments