FIXME: we don't know opener inside fromwire_height_states, so can't do * this there :( */
| 110 | /* FIXME: we don't know opener inside fromwire_height_states, so can't do |
| 111 | * this there :( */ |
| 112 | bool height_states_valid(const struct height_states *states, enum side opener) |
| 113 | { |
| 114 | /* We use the same states as update fee */ |
| 115 | return states->height[last_fee_state(opener)] != NULL; |
| 116 | } |
| 117 | |
| 118 | void towire_height_states(u8 **pptr, const struct height_states *states) |
| 119 | { |