mirror of
https://github.com/aljazceru/lightning.git
synced 2026-01-09 09:04:25 +01:00
As tracked down by Christian; by setting up the master conn first, we make the master fd async. This means that the synchronous read (in init_channel) can fail with -EAGAIN, and indeed, Christian saw this when not running under valgrind. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>