| 672 | } |
| 673 | |
| 674 | struct command_result *param_short_channel_id_dir(struct command *cmd, |
| 675 | const char *name, |
| 676 | const char *buffer, |
| 677 | const jsmntok_t *tok, |
| 678 | struct short_channel_id_dir **scidd) |
| 679 | { |
| 680 | *scidd = tal(cmd, struct short_channel_id_dir); |
| 681 | if (!json_to_short_channel_id_dir(buffer, tok, *scidd)) |
| 682 | return command_fail_badparam(cmd, name, buffer, tok, |
| 683 | "should be a short_channel_id_dir of form NxNxN/N"); |
| 684 | return NULL; |
| 685 | } |
| 686 | |
| 687 | struct command_result *param_secret(struct command *cmd, const char *name, |
| 688 | const char *buffer, const jsmntok_t *tok, |
nothing calls this directly
no test coverage detected