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

Function opt_set_msat

lightningd/options.c:1194–1200  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1192}
1193
1194static char *opt_set_msat(const char *arg, struct amount_msat *amt)
1195{
1196 if (!parse_amount_msat(amt, arg, strlen(arg)))
1197 return tal_fmt(tmpctx, "Unable to parse millisatoshi '%s'", arg);
1198
1199 return NULL;
1200}
1201
1202static char *opt_set_sat(const char *arg, struct amount_sat *sat)
1203{

Callers

nothing calls this directly

Calls 1

parse_amount_msatFunction · 0.50

Tested by

no test coverage detected