Fortuntely, dbids start at 1, not 0! */
| 3109 | |
| 3110 | /* Fortuntely, dbids start at 1, not 0! */ |
| 3111 | u64 htlcs_index_created(struct lightningd *ld, |
| 3112 | u64 htlc_id, |
| 3113 | const struct channel *channel, |
| 3114 | const struct sha256 *payment_hash, |
| 3115 | enum side owner, |
| 3116 | u32 expiry, |
| 3117 | struct amount_msat amount, |
| 3118 | enum htlc_state hstate) |
| 3119 | { |
| 3120 | return htlcs_index_inc(ld, htlc_id, channel, payment_hash, owner, |
| 3121 | expiry, amount, hstate, |
| 3122 | WAIT_INDEX_CREATED); |
| 3123 | } |
| 3124 | |
| 3125 | u64 htlcs_index_update_status(struct lightningd *ld, |
| 3126 | u64 htlc_id, |
nothing calls this directly
no test coverage detected