| 2071 | } |
| 2072 | |
| 2073 | static struct command_result *log_payment_err(struct command *aux_cmd, |
| 2074 | const char *methodname, |
| 2075 | const char *buf, |
| 2076 | const jsmntok_t *result, |
| 2077 | struct payment *payment) |
| 2078 | { |
| 2079 | payment_log(payment, LOG_UNUSUAL, |
| 2080 | "%s failed: '%.*s'", |
| 2081 | methodname, |
| 2082 | json_tok_full_len(result), |
| 2083 | json_tok_full(buf, result)); |
| 2084 | return command_still_pending(aux_cmd); |
| 2085 | } |
| 2086 | |
| 2087 | /* Create a layer with our payment-specific topology information */ |
| 2088 | static struct command_result *populate_private_layer(struct command *cmd, |
nothing calls this directly
no test coverage detected