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

Function sendpay_index_created

lightningd/pay.c:2165–2173  ·  view source on GitHub ↗

Fortuntely, dbids start at 1, not 0! */

Source from the content-addressed store, hash-verified

2163
2164/* Fortuntely, dbids start at 1, not 0! */
2165u64 sendpay_index_created(struct lightningd *ld,
2166 const struct sha256 *payment_hash,
2167 u64 partid,
2168 u64 groupid,
2169 enum payment_status status)
2170{
2171 return sendpay_index_inc(ld, payment_hash, partid, groupid, status,
2172 WAIT_INDEX_CREATED);
2173}
2174
2175u64 sendpay_index_update_status(struct lightningd *ld,
2176 const struct sha256 *payment_hash,

Callers

nothing calls this directly

Calls 1

sendpay_index_incFunction · 0.85

Tested by

no test coverage detected