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

Function sendpay_index_created

lightningd/pay.c:2168–2176  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 1

sendpay_index_incFunction · 0.85

Tested by

no test coverage detected