mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-22 00:24:19 +01:00
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:
committed by
neil saitug
parent
98185dfc2b
commit
08e3e979c8
@@ -1339,6 +1339,7 @@ void peer_active(struct lightningd *ld, const u8 *msg, int fd)
|
||||
goto send_error;
|
||||
}
|
||||
peer->uncommitted_channel = new_uncommitted_channel(peer);
|
||||
peer->uncommitted_channel->cid = channel_id;
|
||||
peer_start_openingd(peer, peer_fd);
|
||||
break;
|
||||
case WIRE_OPEN_CHANNEL2:
|
||||
|
||||
Reference in New Issue
Block a user