@@ -1035,7 +1035,7 @@ impl ChannelTransactionParameters {
1035
1035
///
1036
1036
/// self.is_populated() must be true before calling this function.
1037
1037
#[ rustfmt:: skip]
1038
- pub fn as_holder_broadcastable ( & self ) -> DirectedChannelTransactionParameters {
1038
+ pub fn as_holder_broadcastable ( & self ) -> DirectedChannelTransactionParameters < ' _ > {
1039
1039
assert ! ( self . is_populated( ) , "self.late_parameters must be set before using as_holder_broadcastable" ) ;
1040
1040
DirectedChannelTransactionParameters {
1041
1041
inner : self ,
@@ -1048,7 +1048,7 @@ impl ChannelTransactionParameters {
1048
1048
///
1049
1049
/// self.is_populated() must be true before calling this function.
1050
1050
#[ rustfmt:: skip]
1051
- pub fn as_counterparty_broadcastable ( & self ) -> DirectedChannelTransactionParameters {
1051
+ pub fn as_counterparty_broadcastable ( & self ) -> DirectedChannelTransactionParameters < ' _ > {
1052
1052
assert ! ( self . is_populated( ) , "self.late_parameters must be set before using as_counterparty_broadcastable" ) ;
1053
1053
DirectedChannelTransactionParameters {
1054
1054
inner : self ,
@@ -1435,7 +1435,7 @@ impl ClosingTransaction {
1435
1435
///
1436
1436
/// This should only be used if you fully trust the builder of this object. It should not
1437
1437
/// be used by an external signer - instead use the verify function.
1438
- pub fn trust ( & self ) -> TrustedClosingTransaction {
1438
+ pub fn trust ( & self ) -> TrustedClosingTransaction < ' _ > {
1439
1439
TrustedClosingTransaction { inner : self }
1440
1440
}
1441
1441
@@ -1446,7 +1446,7 @@ impl ClosingTransaction {
1446
1446
/// An external validating signer must call this method before signing
1447
1447
/// or using the built transaction.
1448
1448
#[ rustfmt:: skip]
1449
- pub fn verify ( & self , funding_outpoint : OutPoint ) -> Result < TrustedClosingTransaction , ( ) > {
1449
+ pub fn verify ( & self , funding_outpoint : OutPoint ) -> Result < TrustedClosingTransaction < ' _ > , ( ) > {
1450
1450
let built = build_closing_transaction (
1451
1451
self . to_holder_value_sat , self . to_counterparty_value_sat ,
1452
1452
self . to_holder_script . clone ( ) , self . to_counterparty_script . clone ( ) ,
@@ -1971,7 +1971,7 @@ impl CommitmentTransaction {
1971
1971
///
1972
1972
/// This should only be used if you fully trust the builder of this object. It should not
1973
1973
/// be used by an external signer - instead use the verify function.
1974
- pub fn trust ( & self ) -> TrustedCommitmentTransaction {
1974
+ pub fn trust ( & self ) -> TrustedCommitmentTransaction < ' _ > {
1975
1975
TrustedCommitmentTransaction { inner : self }
1976
1976
}
1977
1977
@@ -1982,7 +1982,7 @@ impl CommitmentTransaction {
1982
1982
/// An external validating signer must call this method before signing
1983
1983
/// or using the built transaction.
1984
1984
#[ rustfmt:: skip]
1985
- pub fn verify < T : secp256k1:: Signing + secp256k1:: Verification > ( & self , channel_parameters : & DirectedChannelTransactionParameters , secp_ctx : & Secp256k1 < T > ) -> Result < TrustedCommitmentTransaction , ( ) > {
1985
+ pub fn verify < T : secp256k1:: Signing + secp256k1:: Verification > ( & self , channel_parameters : & DirectedChannelTransactionParameters , secp_ctx : & Secp256k1 < T > ) -> Result < TrustedCommitmentTransaction < ' _ > , ( ) > {
1986
1986
// This is the only field of the key cache that we trust
1987
1987
let per_commitment_point = & self . keys . per_commitment_point ;
1988
1988
let keys = TxCreationKeys :: from_channel_static_keys ( per_commitment_point, channel_parameters. broadcaster_pubkeys ( ) , channel_parameters. countersignatory_pubkeys ( ) , secp_ctx) ;
0 commit comments