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

Function sendpay_index_deleted

lightningd/pay.c:2155–2162  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2153}
2154
2155void sendpay_index_deleted(struct lightningd *ld,
2156 const struct sha256 *payment_hash,
2157 u64 partid,
2158 u64 groupid,
2159 enum payment_status status)
2160{
2161 sendpay_index_inc(ld, payment_hash, partid, groupid, status, WAIT_INDEX_DELETED);
2162}
2163
2164/* Fortuntely, dbids start at 1, not 0! */
2165u64 sendpay_index_created(struct lightningd *ld,

Callers

nothing calls this directly

Calls 1

sendpay_index_incFunction · 0.85

Tested by

no test coverage detected