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

Function connect_failed

plugins/fetchinvoice.c:849–857  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

847}
848
849static struct command_result *connect_failed(struct command *command,
850 const char *buf,
851 const jsmntok_t *result,
852 struct connect_attempt *ca)
853{
854 return command_done_err(command, OFFER_ROUTE_NOT_FOUND,
855 "Failed: could not route, could not connect",
856 NULL);
857}
858
859/* Offers contain only a 32-byte id. If we can't find the address, we
860 * don't know if it's 02 or 03, so we try both. If we're here, we

Callers

nothing calls this directly

Calls 1

command_done_errFunction · 0.85

Tested by

no test coverage detected