mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-19 07:04:22 +01:00
Don't log_io final messages twice (multiplex_final_message already does this, so it's confusing to see us send e.g. WIRE_ERROR twice!). And report that the peer has failed to connect out *before* telling lightningd, otherwise we get a very confusing ordering, e.g.: ``` 2022-07-23T05:17:36.096Z DEBUG 027d0de66d08f956a8d606c0d1c34e59bda38c05a3b1cc738fdd6378716c644997-lightningd: Reconnecting in 4 seconds 2022-07-23T05:17:36.096Z DEBUG 027d0de66d08f956a8d606c0d1c34e59bda38c05a3b1cc738fdd6378716c644997-lightningd: Will try reconnect in 4 seconds 2022-07-23T05:17:36.096Z DEBUG 027d0de66d08f956a8d606c0d1c34e59bda38c05a3b1cc738fdd6378716c644997-connectd: Failed connected out: ``` Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>