Skip to content

Commit b4132ff

Browse files
t-bastrustyrussell
authored andcommitted
fixup! Update Bolt 11 default recommendation
1 parent c5693d3 commit b4132ff

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

11-payment-encoding.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -172,11 +172,10 @@ A writer:
172172
- MAY include one `x` field.
173173
- if `x` is included:
174174
- SHOULD use the minimum `data_length` possible.
175-
- MAY include one `c` field.
175+
- MUST include one `c` field (`min_final_cltv_expiry`).
176176
- MUST set `c` to the minimum `cltv_expiry` it will accept for the last
177177
HTLC in the route.
178-
- if `c` is included:
179-
- SHOULD use the minimum `data_length` possible.
178+
- SHOULD use the minimum `data_length` possible.
180179
- MAY include one `n` field. (Otherwise performing signature recovery is required)
181180
- MUST set `n` to the public key used to create the `signature`.
182181
- MAY include one or more `f` fields.
@@ -214,6 +213,8 @@ A reader:
214213
- MUST use the `n` field to validate the signature instead of performing signature recovery.
215214
- if there is a valid `s` field:
216215
- MUST use that as [`payment_secret`](04-onion-routing.md#tlv_payload-payload-format)
216+
- if the `c` field (`min_final_cltv_expiry`) is not provided:
217+
- MUST use an expiry delta of at least 18 when making the payment
217218

218219
### Rationale
219220

0 commit comments

Comments
 (0)