lnd/chainntnfs/neutrinonotify
Oliver Gugger ad8e25cbc9
multi: don't access loop variables in goroutines
This commit makes sure that no loop variables or other temporary
variables are accessed directly in a goroutine but are instead passed
into the goroutine through a parameter. This makes sure a copy of the
value is put on the stack and is not changed while the outside loop
continues.
2022-11-21 13:54:23 +01:00
..
driver.go chainntnfs: add block cache to NeutrinoNotifier 2021-04-28 09:59:50 +02:00
neutrino_dev.go multi: add golang 1.17 compatible build tags 2021-09-29 17:31:37 -07:00
neutrino.go multi: don't access loop variables in goroutines 2022-11-21 13:54:23 +01:00