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

Function waitblockheight_failed

plugins/xpay/xpay.c:1786–1797  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1784}
1785
1786static struct command_result *waitblockheight_failed(struct command *aux_cmd,
1787 const char *method,
1788 const char *buf,
1789 const jsmntok_t *result,
1790 struct payment *payment)
1791{
1792 payment_give_up(aux_cmd, payment, PAY_UNSPECIFIED_ERROR,
1793 "Timed out waiting for blockheight %u. %s",
1794 payment->start_blockheight,
1795 payment->prior_results);
1796 return command_still_pending(aux_cmd);
1797}
1798
1799static struct command_result *getroutes_for(struct command *aux_cmd,
1800 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