@@ -982,7 +982,7 @@ pub struct DirectedChannelTransactionParameters<'a> {
982
982
983
983
impl < ' a > DirectedChannelTransactionParameters < ' a > {
984
984
/// Get the channel pubkeys for the broadcaster
985
- pub fn broadcaster_pubkeys ( & self ) -> & ChannelPublicKeys {
985
+ pub fn broadcaster_pubkeys ( & self ) -> & ' a ChannelPublicKeys {
986
986
if self . holder_is_broadcaster {
987
987
& self . inner . holder_pubkeys
988
988
} else {
@@ -991,7 +991,7 @@ impl<'a> DirectedChannelTransactionParameters<'a> {
991
991
}
992
992
993
993
/// Get the channel pubkeys for the countersignatory
994
- pub fn countersignatory_pubkeys ( & self ) -> & ChannelPublicKeys {
994
+ pub fn countersignatory_pubkeys ( & self ) -> & ' a ChannelPublicKeys {
995
995
if self . holder_is_broadcaster {
996
996
& self . inner . counterparty_parameters . as_ref ( ) . unwrap ( ) . pubkeys
997
997
} else {
@@ -1020,7 +1020,7 @@ impl<'a> DirectedChannelTransactionParameters<'a> {
1020
1020
}
1021
1021
1022
1022
/// Whether to use anchors for this channel
1023
- pub fn channel_type_features ( & self ) -> & ChannelTypeFeatures {
1023
+ pub fn channel_type_features ( & self ) -> & ' a ChannelTypeFeatures {
1024
1024
& self . inner . channel_type_features
1025
1025
}
1026
1026
}
@@ -1279,7 +1279,7 @@ impl<'a> Deref for TrustedClosingTransaction<'a> {
1279
1279
1280
1280
impl < ' a > TrustedClosingTransaction < ' a > {
1281
1281
/// The pre-built Bitcoin commitment transaction
1282
- pub fn built_transaction ( & self ) -> & Transaction {
1282
+ pub fn built_transaction ( & self ) -> & ' a Transaction {
1283
1283
& self . inner . built
1284
1284
}
1285
1285
@@ -1668,17 +1668,17 @@ impl<'a> TrustedCommitmentTransaction<'a> {
1668
1668
}
1669
1669
1670
1670
/// The pre-built Bitcoin commitment transaction
1671
- pub fn built_transaction ( & self ) -> & BuiltCommitmentTransaction {
1671
+ pub fn built_transaction ( & self ) -> & ' a BuiltCommitmentTransaction {
1672
1672
& self . inner . built
1673
1673
}
1674
1674
1675
1675
/// The pre-calculated transaction creation public keys.
1676
- pub fn keys ( & self ) -> & TxCreationKeys {
1676
+ pub fn keys ( & self ) -> & ' a TxCreationKeys {
1677
1677
& self . inner . keys
1678
1678
}
1679
1679
1680
1680
/// Should anchors be used.
1681
- pub fn channel_type_features ( & self ) -> & ChannelTypeFeatures {
1681
+ pub fn channel_type_features ( & self ) -> & ' a ChannelTypeFeatures {
1682
1682
& self . inner . channel_type_features
1683
1683
}
1684
1684
0 commit comments