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

Function wait_timed_out

lightningd/invoice.c:129–134  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

127 tell_waiter_deleted((struct command *) cmd);
128}
129static void wait_timed_out(struct command *cmd)
130{
131 was_pending(command_fail(cmd, INVOICE_WAIT_TIMED_OUT,
132 "Timed out while waiting "
133 "for invoice to be paid"));
134}
135
136/* We derive invoice secret using 1-way function from payment_preimage
137 * (just a different one from the payment_hash!) */

Callers

nothing calls this directly

Calls 2

was_pendingFunction · 0.70
command_failFunction · 0.70

Tested by

no test coverage detected