lightningd: set cid correctly in peer->uncommitted_channel.

Setting it to 0xfffff... is just confusing.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
Rusty Russell
2022-07-16 14:19:29 +09:30
committed by neil saitug
parent 98185dfc2b
commit 08e3e979c8
4 changed files with 6 additions and 5 deletions

View File

@@ -28,7 +28,7 @@ struct uncommitted_channel {
/* Reserved dbid for if we become a real struct channel */
u64 dbid;
/* Channel id, v2 opens only */
/* Channel id (temporary!) */
struct channel_id cid;
/* For logging */