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

Function amount_option

plugins/funder.c:1168–1174  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1166}
1167
1168static char *amount_option(const char *arg, struct amount_sat *amt)
1169{
1170 if (!parse_amount_sat(amt, arg, strlen(arg)))
1171 return tal_fmt(NULL, "Unable to parse amount '%s'", arg);
1172
1173 return NULL;
1174}
1175
1176static char *option_lease_fee_base(const char *arg,
1177 struct funder_policy *policy)

Callers 1

option_lease_fee_baseFunction · 0.85

Calls 1

parse_amount_satFunction · 0.50

Tested by

no test coverage detected