mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-24 01:24:26 +01:00
For performance reasons we start the lightningd instances in parallel. However, if we only assign the numeric ids (used for log-prefixes and home directories) when we are already running in parallel, we are not guaranteed to get the numeric ids matching the return value of `get_nodes` or `line_graph`. With this patch we now select numeric ids before parallelizing the start. Signed-off-by: Christian Decker <@cdecker>