File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -614,15 +614,15 @@ impl<'a, SP: Deref> ChannelPhase<SP> where
614
614
SP::Target: SignerProvider,
615
615
<SP::Target as SignerProvider>::Signer: ChannelSigner,
616
616
{
617
- pub fn chan_context (&'a self) -> &'a ChannelContext<SP> {
617
+ pub fn context (&'a self) -> &'a ChannelContext<SP> {
618
618
match self {
619
619
ChannelPhase::Funded(chan) => &chan.context,
620
620
ChannelPhase::UnfundedOutboundV1(chan) => &chan.context,
621
621
ChannelPhase::UnfundedInboundV1(chan) => &chan.context,
622
622
}
623
623
}
624
624
625
- pub fn chan_context_mut (&'a mut self) -> &'a mut ChannelContext<SP> {
625
+ pub fn context_mut (&'a mut self) -> &'a mut ChannelContext<SP> {
626
626
match self {
627
627
ChannelPhase::Funded(ref mut chan) => &mut chan.context,
628
628
ChannelPhase::UnfundedOutboundV1(ref mut chan) => &mut chan.context,
You can’t perform that action at this time.
0 commit comments