mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-18 22:54:25 +01:00
lightningd: always tell connectd the channel id.
This means lightningd needs to create the temporary one and tell it to openingd/dualopend, rather than the other way around. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
@@ -235,7 +235,6 @@ struct channel *new_unsaved_channel(struct peer *peer,
|
||||
"chan#%"PRIu64,
|
||||
channel->unsaved_dbid);
|
||||
|
||||
memset(&channel->cid, 0xFF, sizeof(channel->cid));
|
||||
channel->our_config.id = 0;
|
||||
channel->open_attempt = NULL;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user