FIXME: we don't know opener inside fromwire_fee_states, so can't do * this there :( */
| 152 | /* FIXME: we don't know opener inside fromwire_fee_states, so can't do |
| 153 | * this there :( */ |
| 154 | bool fee_states_valid(const struct fee_states *fee_states, enum side opener) |
| 155 | { |
| 156 | return fee_states->feerate[last_fee_state(opener)] != NULL; |
| 157 | } |
| 158 | |
| 159 | /* The calculation starts with a 100% margin at very low fees, since |
| 160 | * they are likely to rise, and can do so quickly, whereas on the |