mirror of
https://github.com/aljazceru/lightning.git
synced 2026-01-09 00:54:22 +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>