| 1192 | } |
| 1193 | |
| 1194 | static 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 | |
| 1202 | static char *opt_set_sat(const char *arg, struct amount_sat *sat) |
| 1203 | { |
nothing calls this directly
no test coverage detected