1
0
mirror of https://github.com/lightning/bolts.git synced 2024-11-19 10:00:04 +01:00

BOLT 7: remove 2^32 restriction from channel_update as well. (#902)

This was missed in #877

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
Rusty Russell 2021-08-31 01:59:21 +09:30 committed by GitHub
parent 07c7caed51
commit d892c318af
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -462,8 +462,6 @@ The origin node:
- MUST set this to less than or equal to the channel capacity. - MUST set this to less than or equal to the channel capacity.
- MUST set this to less than or equal to `max_htlc_value_in_flight_msat` - MUST set this to less than or equal to `max_htlc_value_in_flight_msat`
it received from the peer. it received from the peer.
- for channels with `chain_hash` identifying the Bitcoin blockchain:
- MUST set this to less than 2^32.
- otherwise: - otherwise:
- MUST set the `option_channel_htlc_max` bit of `message_flags` to 0. - MUST set the `option_channel_htlc_max` bit of `message_flags` to 0.
- MUST set bits in `channel_flags` and `message_flags `that are not assigned a meaning to 0. - MUST set bits in `channel_flags` and `message_flags `that are not assigned a meaning to 0.