| 552 | } |
| 553 | |
| 554 | static struct command_result *after_send_scb_single_fail(struct command *cmd, |
| 555 | const char *method, |
| 556 | const char *buf, |
| 557 | const jsmntok_t *params, |
| 558 | struct info *info) |
| 559 | { |
| 560 | plugin_log(cmd->plugin, LOG_DBG, "Peer storage send failed!"); |
| 561 | remove_peer(cmd->plugin, &info->node_id); |
| 562 | if (--(*info->idx) != 0) |
| 563 | return command_still_pending(cmd); |
| 564 | |
| 565 | return notification_or_hook_done(cmd); |
| 566 | } |
| 567 | |
| 568 | static bool already_have_node_id(const struct node_id *ids, |
| 569 | const struct node_id *id) |
nothing calls this directly
no test coverage detected