| 570 | } |
| 571 | |
| 572 | struct command_result *param_short_channel_id(struct command *cmd, |
| 573 | const char *name, |
| 574 | const char *buffer, |
| 575 | const jsmntok_t *tok, |
| 576 | struct short_channel_id **scid) |
| 577 | { |
| 578 | *scid = tal(cmd, struct short_channel_id); |
| 579 | if (json_to_short_channel_id(buffer, tok, *scid)) |
| 580 | return NULL; |
| 581 | |
| 582 | return command_fail_badparam(cmd, name, buffer, tok, |
| 583 | "should be a short_channel_id of form NxNxN"); |
| 584 | } |
| 585 | |
| 586 | struct command_result *param_secret(struct command *cmd, const char *name, |
| 587 | const char *buffer, const jsmntok_t *tok, |
nothing calls this directly
no test coverage detected