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. */
| 2897 | * `cltv_expiry`: 1 or 2 blocks is reasonable. |
| 2898 | */ |
| 2899 | static u32 htlc_out_deadline(const struct htlc_out *hout) |
| 2900 | { |
| 2901 | return hout->cltv_expiry + 1; |
| 2902 | } |
| 2903 | |
| 2904 | /* BOLT #2: |
| 2905 | * |
no outgoing calls
no test coverage detected