Skip to content

Commit 8186f59

Browse files
committed
fixup! BOLT 2: channel_type is not a negotiation.
1 parent 745b4d0 commit 8186f59

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

02-peer-protocol.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,7 @@ The sending node:
235235
- MUST include `upfront_shutdown_script`.
236236
- if it includes `channel_type`:
237237
- MUST set it to a defined type representing the type it wants.
238-
- MUST use the smallest bitmap possible to represent the channel tyoe.
238+
- MUST use the smallest bitmap possible to represent the channel type.
239239
- SHOULD NOT set it to a type containing a feature which was not negotiated.
240240

241241
The sending node SHOULD:
@@ -412,8 +412,8 @@ This message introduces the `channel_id` to identify the channel. It's derived f
412412
#### Requirements
413413

414414
Both peers:
415-
- if `channel_type` was present in both `open_channel` and `accept_channel`):
416-
- this is the `channel_type` (they must be equal, required above)
415+
- if `channel_type` was present in both `open_channel` and `accept_channel`:
416+
- This is the `channel_type` (they must be equal, required above)
417417
- otherwise:
418418
- if `option_anchors_zero_fee_htlc_tx` was negotiated:
419419
- the `channel_type` is `option_anchors_zero_fee_htlc_tx` and `option_static_remotekey` (bits 22 and 12)

0 commit comments

Comments
 (0)