File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 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 {
11341134 Funded(FundedChannel<SP>),
11351135}
11361136
1137- impl<'a, SP: Deref> Channel<SP> where
1137+ impl<SP: Deref> Channel<SP> where
11381138 SP::Target: SignerProvider,
11391139 <SP::Target as SignerProvider>::EcdsaSigner: ChannelSigner,
11401140{
1141- pub fn context(&'a self) -> &'a ChannelContext<SP> {
1141+ pub fn context(&self) -> &ChannelContext<SP> {
11421142 match self {
11431143 Channel::Funded(chan) => &chan.context,
11441144 Channel::UnfundedOutboundV1(chan) => &chan.context,
@@ -1147,7 +1147,7 @@ impl<'a, SP: Deref> Channel<SP> where
11471147 }
11481148 }
11491149
1150- pub fn context_mut(&'a mut self) -> &'a mut ChannelContext<SP> {
1150+ pub fn context_mut(&mut self) -> &mut ChannelContext<SP> {
11511151 match self {
11521152 Channel::Funded(ref mut chan) => &mut chan.context,
11531153 Channel::UnfundedOutboundV1(ref mut chan) => &mut chan.context,
You can’t perform that action at this time.
0 commit comments