Files
lightning/lightningd
Rusty Russell c0b898e860 lightningd: don't access peer after free if it disconnects during peer_connected hook.
We keep the node_id, not a pointer to the peer.

This also means that it might have reconnected while we were in the hook, so make
sure we ignore the result if it's in state PEER_CONNECTED.

And remove the `tal_steal(peer, hook_payload)` which doesn't do anything: the
plugin_hook call steals hook_payload anyway!

Fixes: #5944
2023-02-08 08:37:59 -06:00
..
2022-07-15 12:24:00 -05:00
2022-07-15 12:24:00 -05:00
2023-01-21 08:05:31 -06:00
2022-03-10 09:40:09 +10:30
2022-09-19 10:18:55 +09:30
2022-09-12 14:00:41 +02:00
2022-09-12 14:00:41 +02:00