| 1201 | } |
| 1202 | |
| 1203 | static char *option_lease_weight_max(const char *arg, |
| 1204 | struct funder_policy *policy) |
| 1205 | { |
| 1206 | if (!policy->rates) |
| 1207 | policy->rates = default_lease_rates(policy); |
| 1208 | return u16_option(arg, &policy->rates->funding_weight); |
| 1209 | } |
| 1210 | |
| 1211 | static char *amount_sat_or_u64_option(const char *arg, u64 *amt) |
| 1212 | { |
nothing calls this directly
no test coverage detected