3a44574625
Since GetUtxo is a potentially long running call, we would see RegisterSpendNtfn block in some cases, in particular on starting the chain watcher, causing lnd to hang on startup. This commit makes the call to GetUtxo in a go routine, letting RegisterSpendNtfn return immediately when the notification events are created. |
||
---|---|---|
.. | ||
driver.go | ||
neutrino_dev.go | ||
neutrino.go |