If someone gives us an invalid update, all we can do is log it */
| 1474 | |
| 1475 | /* If someone gives us an invalid update, all we can do is log it */ |
| 1476 | static struct command_result * |
| 1477 | payment_addgossip_failure(struct command *cmd, const char *buffer, |
| 1478 | const jsmntok_t *toks, struct payment *p) |
| 1479 | { |
| 1480 | paymod_log(p, LOG_DBG, "Invalid channel_update: %.*s", |
| 1481 | json_tok_full_len(toks), |
| 1482 | json_tok_full(buffer, toks)); |
| 1483 | |
| 1484 | return payment_addgossip_success(cmd, NULL, NULL, p); |
| 1485 | } |
| 1486 | |
| 1487 | static struct command_result * |
| 1488 | payment_waitsendpay_finished(struct command *cmd, const char *buffer, |
nothing calls this directly
no test coverage detected