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

Function payment_start

plugins/renepay/main.c:148–155  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

146}
147
148static struct command_result * payment_start(struct payment *p)
149{
150 assert(p);
151 p->status = PAYMENT_PENDING;
152 plugin_log(pay_plugin->plugin, LOG_DBG, "Starting renepay");
153 p->exec_state = 0;
154 return payment_continue(p);
155}
156
157static struct command_result *json_renepay(struct command *cmd, const char *buf,
158 const jsmntok_t *params)

Callers 3

json_renepayFunction · 0.70

Calls 2

payment_continueFunction · 0.70
plugin_logFunction · 0.50

Tested by

no test coverage detected