lnd.xprv/chainntnfs/neutrinonotify
Conner Fromknecht b5b8602820
chainntnfs/neutrinonotify/neutrino: remove height shadowing
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.
2018-09-20 18:47:04 -07:00
..
driver.go chainntnfs: add height hint caches to chain notifiers 2018-08-21 12:55:51 -04:00
neutrino_debug.go chainntnfs: guard test chain notifier under debug flag 2018-08-24 03:36:25 -07:00
neutrino.go chainntnfs/neutrinonotify/neutrino: remove height shadowing 2018-09-20 18:47:04 -07:00