| 534 | } |
| 535 | |
| 536 | struct command_result *param_sat_or_all(struct command *cmd, const char *name, |
| 537 | const char *buffer, const jsmntok_t *tok, |
| 538 | struct amount_sat **sat) |
| 539 | { |
| 540 | if (json_tok_streq(buffer, tok, "all")) { |
| 541 | *sat = tal(cmd, struct amount_sat); |
| 542 | **sat = AMOUNT_SAT(-1ULL); |
| 543 | return NULL; |
| 544 | } |
| 545 | return param_sat(cmd, name, buffer, tok, sat); |
| 546 | } |
| 547 | |
| 548 | struct command_result *param_node_id(struct command *cmd, const char *name, |
| 549 | const char *buffer, const jsmntok_t *tok, |
nothing calls this directly
no test coverage detected