| 622 | } |
| 623 | |
| 624 | struct command_result *param_sat_or_all(struct command *cmd, const char *name, |
| 625 | const char *buffer, const jsmntok_t *tok, |
| 626 | struct amount_sat **sat) |
| 627 | { |
| 628 | if (json_tok_streq(buffer, tok, "all")) { |
| 629 | *sat = tal(cmd, struct amount_sat); |
| 630 | **sat = AMOUNT_SAT(-1ULL); |
| 631 | return NULL; |
| 632 | } |
| 633 | return param_sat(cmd, name, buffer, tok, sat); |
| 634 | } |
| 635 | |
| 636 | struct command_result *param_node_id(struct command *cmd, const char *name, |
| 637 | const char *buffer, const jsmntok_t *tok, |
nothing calls this directly
no test coverage detected