File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -1134,11 +1134,11 @@ pub(super) enum Channel<SP: Deref> where SP::Target: SignerProvider {
1134
1134
Funded(FundedChannel<SP>),
1135
1135
}
1136
1136
1137
- impl<'a, SP: Deref> Channel<SP> where
1137
+ impl<SP: Deref> Channel<SP> where
1138
1138
SP::Target: SignerProvider,
1139
1139
<SP::Target as SignerProvider>::EcdsaSigner: ChannelSigner,
1140
1140
{
1141
- pub fn context(&'a self) -> &'a ChannelContext<SP> {
1141
+ pub fn context(&self) -> &ChannelContext<SP> {
1142
1142
match self {
1143
1143
Channel::Funded(chan) => &chan.context,
1144
1144
Channel::UnfundedOutboundV1(chan) => &chan.context,
@@ -1147,7 +1147,7 @@ impl<'a, SP: Deref> Channel<SP> where
1147
1147
}
1148
1148
}
1149
1149
1150
- pub fn context_mut(&'a mut self) -> &'a mut ChannelContext<SP> {
1150
+ pub fn context_mut(&mut self) -> &mut ChannelContext<SP> {
1151
1151
match self {
1152
1152
Channel::Funded(ref mut chan) => &mut chan.context,
1153
1153
Channel::UnfundedOutboundV1(ref mut chan) => &mut chan.context,
You can’t perform that action at this time.
0 commit comments