| 2140 | } |
| 2141 | |
| 2142 | static struct command_result *log_payment_err(struct command *aux_cmd, |
| 2143 | const char *methodname, |
| 2144 | const char *buf, |
| 2145 | const jsmntok_t *result, |
| 2146 | struct payment *payment) |
| 2147 | { |
| 2148 | payment_log(payment, LOG_UNUSUAL, |
| 2149 | "%s failed: '%.*s'", |
| 2150 | methodname, |
| 2151 | json_tok_full_len(result), |
| 2152 | json_tok_full(buf, result)); |
| 2153 | return command_still_pending(aux_cmd); |
| 2154 | } |
| 2155 | |
| 2156 | /* Create a layer with our payment-specific topology information */ |
| 2157 | static struct command_result *populate_private_layer(struct command *cmd, |
nothing calls this directly
no test coverage detected