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