If someone gives us an invalid update, all we can do is log it */
| 1618 | |
| 1619 | /* If someone gives us an invalid update, all we can do is log it */ |
| 1620 | static struct command_result * |
| 1621 | payment_addgossip_failure(struct command *cmd, |
| 1622 | const char *method, |
| 1623 | const char *buffer, |
| 1624 | const jsmntok_t *toks, struct payment *p) |
| 1625 | { |
| 1626 | paymod_log(p, LOG_DBG, "Invalid channel_update: %.*s", |
| 1627 | json_tok_full_len(toks), |
| 1628 | json_tok_full(buffer, toks)); |
| 1629 | |
| 1630 | return payment_addgossip_success(cmd, NULL, NULL, NULL, p); |
| 1631 | } |
| 1632 | |
| 1633 | static struct command_result * |
| 1634 | payment_waitsendpay_finished(struct command *cmd, |
nothing calls this directly
no test coverage detected