| 1849 | } |
| 1850 | |
| 1851 | static struct command_result *waitblockheight_failed(struct command *aux_cmd, |
| 1852 | const char *method, |
| 1853 | const char *buf, |
| 1854 | const jsmntok_t *result, |
| 1855 | struct payment *payment) |
| 1856 | { |
| 1857 | payment_give_up(aux_cmd, payment, PAY_UNSPECIFIED_ERROR, |
| 1858 | "Timed out waiting for blockheight %u. %s", |
| 1859 | payment->start_blockheight, |
| 1860 | payment->prior_results); |
| 1861 | return command_still_pending(aux_cmd); |
| 1862 | } |
| 1863 | |
| 1864 | static struct command_result *getroutes_for(struct command *aux_cmd, |
| 1865 | struct payment *payment, |
nothing calls this directly
no test coverage detected