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

Function payment_command

plugins/renepay/payment.c:211–218  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

209}
210
211struct command *payment_command(struct payment *p)
212{
213 assert(p);
214 assert(p->cmd_array);
215 if (tal_count(p->cmd_array) == 0)
216 return NULL;
217 return p->cmd_array[0];
218}
219
220void register_payment_success(struct payment *payment,
221 const struct preimage *preimage TAKES)

Callers 7

previoussuccess_cbFunction · 0.85
getmychannels_cbFunction · 0.85
routehints_cbFunction · 0.85
send_routes_cbFunction · 0.85
sleep_cbFunction · 0.85
end_cbFunction · 0.85
pendingsendpays_cbFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected