MCPcopy Create free account
hub / github.com/ElementsProject/lightning / waitblockheight_failed

Function waitblockheight_failed

plugins/xpay/xpay.c:1851–1862  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1849}
1850
1851static 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
1864static struct command_result *getroutes_for(struct command *aux_cmd,
1865 struct payment *payment,

Callers

nothing calls this directly

Calls 2

payment_give_upFunction · 0.85
command_still_pendingFunction · 0.50

Tested by

no test coverage detected