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

Function opt_set_msat

lightningd/options.c:1207–1213  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1205}
1206
1207static char *opt_set_msat(const char *arg, struct amount_msat *amt)
1208{
1209 if (!parse_amount_msat(amt, arg, strlen(arg)))
1210 return tal_fmt(tmpctx, "Unable to parse millisatoshi '%s'", arg);
1211
1212 return NULL;
1213}
1214
1215static char *opt_set_sat(const char *arg, struct amount_sat *sat)
1216{

Callers

nothing calls this directly

Calls 1

parse_amount_msatFunction · 0.50

Tested by

no test coverage detected