MCPcopy Create free account
hub / github.com/ElementsProject/lightning / option_lease_weight_max

Function option_lease_weight_max

plugins/funder.c:1203–1209  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1201}
1202
1203static 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
1211static char *amount_sat_or_u64_option(const char *arg, u64 *amt)
1212{

Callers

nothing calls this directly

Calls 2

default_lease_ratesFunction · 0.85
u16_optionFunction · 0.85

Tested by

no test coverage detected