| 554 | } |
| 555 | |
| 556 | static struct command_result *json_dev_compact_gossip_store(struct command *cmd, |
| 557 | const char *buffer, |
| 558 | const jsmntok_t *obj UNNEEDED, |
| 559 | const jsmntok_t *params) |
| 560 | { |
| 561 | u8 *msg; |
| 562 | if (!param(cmd, buffer, params, NULL)) |
| 563 | return command_param_failed(); |
| 564 | |
| 565 | msg = towire_gossipd_dev_compact_store(NULL); |
| 566 | subd_req(cmd->ld->gossip, cmd->ld->gossip, |
| 567 | take(msg), -1, 0, dev_compact_gossip_store_reply, cmd); |
| 568 | return command_still_pending(cmd); |
| 569 | } |
| 570 | |
| 571 | static const struct json_command dev_compact_gossip_store = { |
| 572 | "dev-compact-gossip-store", |
nothing calls this directly
no test coverage detected