| 1210 | } |
| 1211 | |
| 1212 | static char *opt_set_sat_nondust(const char *arg, struct amount_sat *sat) |
| 1213 | { |
| 1214 | char *ret = opt_set_sat(arg, sat); |
| 1215 | if (ret) |
| 1216 | return ret; |
| 1217 | if (amount_sat_less(*sat, chainparams->dust_limit)) |
| 1218 | return tal_fmt(tmpctx, "Option must be over dust limit!"); |
| 1219 | return NULL; |
| 1220 | } |
| 1221 | |
| 1222 | static bool opt_show_sat(char *buf, size_t len, const struct amount_sat *sat) |
| 1223 | { |
nothing calls this directly
no test coverage detected