mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-24 01:24:26 +01:00
lightningd can crash on shutdown if it's in the middle of getchaintips; we free the conn, the finished callback is called (process_chaintips), and it reports that it received an empty result. The simplest fix is to set a flag in the struct bitcoind destructor, and avoid the callback. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>