| 512 | } |
| 513 | |
| 514 | static struct command_result *json_dev_compact_gossip_store(struct command *cmd, |
| 515 | const char *buffer, |
| 516 | const jsmntok_t *obj UNNEEDED, |
| 517 | const jsmntok_t *params) |
| 518 | { |
| 519 | u8 *msg; |
| 520 | |
| 521 | if (!param(cmd, buffer, params, NULL)) |
| 522 | return command_param_failed(); |
| 523 | |
| 524 | msg = towire_gossipd_dev_compact_store(NULL); |
| 525 | subd_req(cmd->ld->gossip, cmd->ld->gossip, |
| 526 | take(msg), -1, 0, dev_compact_gossip_store_reply, cmd); |
| 527 | return command_still_pending(cmd); |
| 528 | } |
| 529 | |
| 530 | static const struct json_command dev_compact_gossip_store = { |
| 531 | "dev-compact-gossip-store", |
nothing calls this directly
no test coverage detected