mirror of
https://github.com/aljazceru/breez-lnd.git
synced 2026-01-17 21:34:20 +01:00
We would establish the connection to the chain backend and start getting block notifications before we had started the concurrent queues, which would lead to the OnBlockConnected call being blocked, and a deadlock (since GetBestBlock would never return). Instead we make sure to start the queues before establishing the connection, consuming the notifications right away.