| 480 | } |
| 481 | |
| 482 | static bool is_dust(struct tx_state *tx_state, |
| 483 | struct amount_sat amount) |
| 484 | { |
| 485 | return !amount_sat_greater(amount, tx_state->localconf.dust_limit) |
| 486 | || !amount_sat_greater(amount, tx_state->remoteconf.dust_limit); |
| 487 | } |
| 488 | |
| 489 | static void set_reserve(struct tx_state *tx_state, |
| 490 | struct amount_sat funding_total, |
no test coverage detected