| 511 | } |
| 512 | |
| 513 | static struct command_result *peer_after_send_scb_failed(struct command *cmd, |
| 514 | const char *method, |
| 515 | const char *buf, |
| 516 | const jsmntok_t *params, |
| 517 | struct node_id *nodeid) |
| 518 | { |
| 519 | plugin_log(cmd->plugin, LOG_DBG, "Peer storage send failed %.*s!", |
| 520 | json_tok_full_len(params), json_tok_full(buf, params)); |
| 521 | remove_peer(cmd->plugin, nodeid); |
| 522 | return command_hook_success(cmd); |
| 523 | } |
| 524 | |
| 525 | struct info { |
| 526 | size_t *idx; |
nothing calls this directly
no test coverage detected