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

Function payment_commands_empty

plugins/renepay/payment.c:204–209  ·  view source on GitHub ↗

are there pending commands on this payment? */

Source from the content-addressed store, hash-verified

202
203/* are there pending commands on this payment? */
204bool payment_commands_empty(const struct payment *p)
205{
206 assert(p);
207 assert(p->cmd_array);
208 return tal_count(p->cmd_array) == 0;
209}
210
211struct command *payment_command(struct payment *p)
212{

Callers 3

payment_finishFunction · 0.85
json_renepayFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected