@@ -1035,7 +1035,7 @@ impl ChannelTransactionParameters {
10351035 ///
10361036 /// self.is_populated() must be true before calling this function.
10371037 #[ rustfmt:: skip]
1038- pub fn as_holder_broadcastable ( & self ) -> DirectedChannelTransactionParameters {
1038+ pub fn as_holder_broadcastable ( & self ) -> DirectedChannelTransactionParameters < ' _ > {
10391039 assert ! ( self . is_populated( ) , "self.late_parameters must be set before using as_holder_broadcastable" ) ;
10401040 DirectedChannelTransactionParameters {
10411041 inner : self ,
@@ -1048,7 +1048,7 @@ impl ChannelTransactionParameters {
10481048 ///
10491049 /// self.is_populated() must be true before calling this function.
10501050 #[ rustfmt:: skip]
1051- pub fn as_counterparty_broadcastable ( & self ) -> DirectedChannelTransactionParameters {
1051+ pub fn as_counterparty_broadcastable ( & self ) -> DirectedChannelTransactionParameters < ' _ > {
10521052 assert ! ( self . is_populated( ) , "self.late_parameters must be set before using as_counterparty_broadcastable" ) ;
10531053 DirectedChannelTransactionParameters {
10541054 inner : self ,
@@ -1435,7 +1435,7 @@ impl ClosingTransaction {
14351435 ///
14361436 /// This should only be used if you fully trust the builder of this object. It should not
14371437 /// be used by an external signer - instead use the verify function.
1438- pub fn trust ( & self ) -> TrustedClosingTransaction {
1438+ pub fn trust ( & self ) -> TrustedClosingTransaction < ' _ > {
14391439 TrustedClosingTransaction { inner : self }
14401440 }
14411441
@@ -1446,7 +1446,7 @@ impl ClosingTransaction {
14461446 /// An external validating signer must call this method before signing
14471447 /// or using the built transaction.
14481448 #[ rustfmt:: skip]
1449- pub fn verify ( & self , funding_outpoint : OutPoint ) -> Result < TrustedClosingTransaction , ( ) > {
1449+ pub fn verify ( & self , funding_outpoint : OutPoint ) -> Result < TrustedClosingTransaction < ' _ > , ( ) > {
14501450 let built = build_closing_transaction (
14511451 self . to_holder_value_sat , self . to_counterparty_value_sat ,
14521452 self . to_holder_script . clone ( ) , self . to_counterparty_script . clone ( ) ,
@@ -1971,7 +1971,7 @@ impl CommitmentTransaction {
19711971 ///
19721972 /// This should only be used if you fully trust the builder of this object. It should not
19731973 /// be used by an external signer - instead use the verify function.
1974- pub fn trust ( & self ) -> TrustedCommitmentTransaction {
1974+ pub fn trust ( & self ) -> TrustedCommitmentTransaction < ' _ > {
19751975 TrustedCommitmentTransaction { inner : self }
19761976 }
19771977
@@ -1982,7 +1982,7 @@ impl CommitmentTransaction {
19821982 /// An external validating signer must call this method before signing
19831983 /// or using the built transaction.
19841984 #[ 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 < ' _ > , ( ) > {
19861986 // This is the only field of the key cache that we trust
19871987 let per_commitment_point = & self . keys . per_commitment_point ;
19881988 let keys = TxCreationKeys :: from_channel_static_keys ( per_commitment_point, channel_parameters. broadcaster_pubkeys ( ) , channel_parameters. countersignatory_pubkeys ( ) , secp_ctx) ;
0 commit comments