* end * * The default ending of a payment. */
| 924 | * The default ending of a payment. |
| 925 | */ |
| 926 | static struct command_result *end_done(struct command *cmd UNUSED, |
| 927 | const char *method UNUSED, |
| 928 | const char *buf UNUSED, |
| 929 | const jsmntok_t *result UNUSED, |
| 930 | struct payment *payment) |
| 931 | { |
| 932 | return payment_fail(payment, PAY_STOPPED_RETRYING, |
| 933 | "Payment execution ended without success."); |
| 934 | } |
| 935 | static struct command_result *end_cb(struct payment *payment) |
| 936 | { |
| 937 | struct command *cmd = payment_command(payment); |
nothing calls this directly
no test coverage detected