Not even in the database yet? */
| 707 | |
| 708 | /* Not even in the database yet? */ |
| 709 | static inline bool channel_state_uncommitted(enum channel_state state) |
| 710 | { |
| 711 | switch (state) { |
| 712 | case DUALOPEND_OPEN_INIT: |
| 713 | return true; |
| 714 | case DUALOPEND_OPEN_COMMIT_READY: |
| 715 | case DUALOPEND_OPEN_COMMITTED: |
| 716 | case CHANNELD_AWAITING_LOCKIN: |
| 717 | case DUALOPEND_AWAITING_LOCKIN: |
| 718 | case CHANNELD_NORMAL: |
| 719 | case CHANNELD_AWAITING_SPLICE: |
| 720 | case CLOSINGD_SIGEXCHANGE: |
| 721 | case CHANNELD_SHUTTING_DOWN: |
| 722 | case CLOSINGD_COMPLETE: |
| 723 | case AWAITING_UNILATERAL: |
| 724 | case FUNDING_SPEND_SEEN: |
| 725 | case ONCHAIN: |
| 726 | case CLOSED: |
| 727 | return false; |
| 728 | } |
| 729 | abort(); |
| 730 | } |
| 731 | |
| 732 | /* Established enough, that we could reach out to peer to discuss */ |
| 733 | static inline bool channel_state_wants_peercomms(enum channel_state state) |
no test coverage detected