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

Function wait_on_invoice

lightningd/invoice.c:113–119  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

111 "Invoice deleted during wait"));
112}
113static void wait_on_invoice(const struct invoice *invoice, void *cmd)
114{
115 if (invoice)
116 tell_waiter((struct command *) cmd, invoice);
117 else
118 tell_waiter_deleted((struct command *) cmd);
119}
120static void wait_timed_out(struct command *cmd)
121{
122 was_pending(command_fail(cmd, INVOICE_WAIT_TIMED_OUT,

Callers

nothing calls this directly

Calls 2

tell_waiterFunction · 0.85
tell_waiter_deletedFunction · 0.85

Tested by

no test coverage detected