Open
Description
If the funding tx hasn't been confirmed and isn't in the fundee's mempool, the fundee's contractcourt will advance to StateContractClosed
without broadcasting the unilateral close (since it would be rejected). The funder will be unaware the fundee is trying to close the channel and will still think it's open. The solution is to probably disallow the fundee from force closing the channel before a single confirmation. The same thing could be done for coop closing.