| 646 | } |
| 647 | |
| 648 | void rpc_enable_batching(struct plugin *plugin) |
| 649 | { |
| 650 | const char *p; |
| 651 | struct json_out *params; |
| 652 | |
| 653 | params = json_out_new(NULL); |
| 654 | json_out_start(params, NULL, '{'); |
| 655 | json_out_add(params, "enable", false, "true"); |
| 656 | json_out_end(params, '}'); |
| 657 | json_out_finished(params); |
| 658 | |
| 659 | /* We don't actually care about (empty) response */ |
| 660 | sync_req(tmpctx, plugin, "batching", take(params), &p); |
| 661 | } |
| 662 | |
| 663 | static struct command_result *datastore_fail(struct command *command, |
| 664 | const char *buf, |
no test coverage detected