If someone gives us an invalid update, all we can do is log it */
| 1634 | |
| 1635 | /* If someone gives us an invalid update, all we can do is log it */ |
| 1636 | static struct command_result * |
| 1637 | payment_addgossip_failure(struct command *cmd, |
| 1638 | const char *method, |
| 1639 | const char *buffer, |
| 1640 | const jsmntok_t *toks, struct payment *p) |
| 1641 | { |
| 1642 | paymod_log(p, LOG_DBG, "Invalid channel_update: %.*s", |
| 1643 | json_tok_full_len(toks), |
| 1644 | json_tok_full(buffer, toks)); |
| 1645 | |
| 1646 | return payment_addgossip_success(cmd, NULL, NULL, NULL, p); |
| 1647 | } |
| 1648 | |
| 1649 | static struct command_result * |
| 1650 | payment_waitsendpay_finished(struct command *cmd, |
nothing calls this directly
no test coverage detected