Skip to content

Commit 1453759

Browse files
committed
lightningd: update bolts to clarify channel_update timing.
Signed-off-by: Rusty Russell <[email protected]>
1 parent 09e745e commit 1453759

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ CCANDIR := ccan
2626

2727
# Where we keep the BOLT RFCs
2828
BOLTDIR := ../bolts/
29-
DEFAULT_BOLTVERSION := e0b1200ffa4220f3db6d518aa322f97e0a30cc1f
29+
DEFAULT_BOLTVERSION := 0809f77c7b57abe138c02697f573b52b470fb647
3030
# Can be overridden on cmdline.
3131
BOLTVERSION := $(DEFAULT_BOLTVERSION)
3232

lightningd/channel_gossip.c

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -295,7 +295,9 @@ static void send_private_cupdate(struct channel *channel, bool even_if_redundant
295295
*
296296
* - MAY create a `channel_update` to communicate the channel
297297
* parameters to the channel peer, even though the channel has not
298-
* yet been announced (i.e. the `announce_channel` bit was not set).
298+
* yet been announced (i.e. the `announce_channel` bit was not set
299+
* or the `channel_update` is sent before the peers exchanged
300+
* [announcement signatures](#the-announcement_signatures-message)).
299301
* - MUST set the `short_channel_id` to either an `alias` it has
300302
* received from the peer, or the real channel `short_channel_id`.
301303
* - MUST set `dont_forward` to 1 in `message_flags`

0 commit comments

Comments
 (0)