BOLT #2: * * 2. the deadline for offered HTLCs: the deadline after which the channel has * to be failed and timed out on-chain. This is `G` blocks after the HTLC's * `cltv_expiry`: 1 or 2 blocks is reasonable. */
| 2563 | * `cltv_expiry`: 1 or 2 blocks is reasonable. |
| 2564 | */ |
| 2565 | static u32 htlc_out_deadline(const struct htlc_out *hout) |
| 2566 | { |
| 2567 | return hout->cltv_expiry + 1; |
| 2568 | } |
| 2569 | |
| 2570 | /* BOLT #2: |
| 2571 | * |
no outgoing calls
no test coverage detected