| 1205 | } |
| 1206 | |
| 1207 | static 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 | |
| 1215 | static char *opt_set_sat(const char *arg, struct amount_sat *sat) |
| 1216 | { |
nothing calls this directly
no test coverage detected