| 24 | } |
| 25 | |
| 26 | size_t commit_tx_num_untrimmed(const struct htlc **htlcs, |
| 27 | u32 feerate_per_kw, |
| 28 | struct amount_sat dust_limit, |
| 29 | bool option_anchor_outputs, |
| 30 | bool option_anchors_zero_fee_htlc_tx, |
| 31 | enum side side) |
| 32 | { |
| 33 | size_t i, n; |
| 34 | |
| 35 | for (i = n = 0; i < tal_count(htlcs); i++) |
| 36 | n += !trim(htlcs[i], feerate_per_kw, dust_limit, |
| 37 | option_anchor_outputs, |
| 38 | option_anchors_zero_fee_htlc_tx, |
| 39 | side); |
| 40 | |
| 41 | return n; |
| 42 | } |
| 43 | |
| 44 | bool commit_tx_amount_trimmed(const struct htlc **htlcs, |
| 45 | u32 feerate_per_kw, |
no test coverage detected