b5b8602820
This commit removes shadowing of the currentHeight variable when registering for neutrino spend notifications. Currently, a locally scoped variable is used when determining if the backend is fully synced before attempting to call GetUtxo, which means that the variable won't be updated after breaking out of the loop. As a result, this could cause us to scan unnecessarily if the backend is catching up, e.g. after being offline for some time. |
||
---|---|---|
.. | ||
driver.go | ||
neutrino_debug.go | ||
neutrino.go |