@@ -982,7 +982,7 @@ pub struct DirectedChannelTransactionParameters<'a> {
982982
983983impl < ' a > DirectedChannelTransactionParameters < ' a > {
984984 /// Get the channel pubkeys for the broadcaster
985- pub fn broadcaster_pubkeys ( & self ) -> & ChannelPublicKeys {
985+ pub fn broadcaster_pubkeys ( & self ) -> & ' a ChannelPublicKeys {
986986 if self . holder_is_broadcaster {
987987 & self . inner . holder_pubkeys
988988 } else {
@@ -991,7 +991,7 @@ impl<'a> DirectedChannelTransactionParameters<'a> {
991991 }
992992
993993 /// Get the channel pubkeys for the countersignatory
994- pub fn countersignatory_pubkeys ( & self ) -> & ChannelPublicKeys {
994+ pub fn countersignatory_pubkeys ( & self ) -> & ' a ChannelPublicKeys {
995995 if self . holder_is_broadcaster {
996996 & self . inner . counterparty_parameters . as_ref ( ) . unwrap ( ) . pubkeys
997997 } else {
@@ -1020,7 +1020,7 @@ impl<'a> DirectedChannelTransactionParameters<'a> {
10201020 }
10211021
10221022 /// Whether to use anchors for this channel
1023- pub fn channel_type_features ( & self ) -> & ChannelTypeFeatures {
1023+ pub fn channel_type_features ( & self ) -> & ' a ChannelTypeFeatures {
10241024 & self . inner . channel_type_features
10251025 }
10261026}
@@ -1279,7 +1279,7 @@ impl<'a> Deref for TrustedClosingTransaction<'a> {
12791279
12801280impl < ' a > TrustedClosingTransaction < ' a > {
12811281 /// The pre-built Bitcoin commitment transaction
1282- pub fn built_transaction ( & self ) -> & Transaction {
1282+ pub fn built_transaction ( & self ) -> & ' a Transaction {
12831283 & self . inner . built
12841284 }
12851285
@@ -1668,17 +1668,17 @@ impl<'a> TrustedCommitmentTransaction<'a> {
16681668 }
16691669
16701670 /// The pre-built Bitcoin commitment transaction
1671- pub fn built_transaction ( & self ) -> & BuiltCommitmentTransaction {
1671+ pub fn built_transaction ( & self ) -> & ' a BuiltCommitmentTransaction {
16721672 & self . inner . built
16731673 }
16741674
16751675 /// The pre-calculated transaction creation public keys.
1676- pub fn keys ( & self ) -> & TxCreationKeys {
1676+ pub fn keys ( & self ) -> & ' a TxCreationKeys {
16771677 & self . inner . keys
16781678 }
16791679
16801680 /// Should anchors be used.
1681- pub fn channel_type_features ( & self ) -> & ChannelTypeFeatures {
1681+ pub fn channel_type_features ( & self ) -> & ' a ChannelTypeFeatures {
16821682 & self . inner . channel_type_features
16831683 }
16841684
0 commit comments