You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add a ClosureReason::LocallyCoopClosedUnfundedChannel
When a channel is "coop" closed prior to it being funded, it is
closed immediately. Instead of reporting
`ClosureReason::*InitiatedCooperativeClosure` (which would be
somewhat misleading), we report
`ClosureReason::CounterpartyCoopClosedUnfundedCHannel` when our
counterparty does it. However, when we do it, we report
`ClosureReason::HolderForceClosed`, which is highly confusing given
the user did *not* call a force-closure method.
Instead, here, we add a
`ClosureReason::LocallyCoopClosedUnfundedChannel` to match the
`CounterpartyCoopClosedUnfundedCHannel` variant and use it.
0 commit comments