mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-09-08 14:57:38 +02:00
multi: 64bit aligment of atomic vars on arm/x86-32
This commit is contained in:
committed by
Olaoluwa Osuntokun
parent
d2bcb708f3
commit
3be08e69cf
@@ -102,8 +102,8 @@ type chainWatcherConfig struct {
|
||||
// that the channel has been closed, and also give them the materials necessary
|
||||
// to sweep the funds of the channel on chain eventually.
|
||||
type chainWatcher struct {
|
||||
started int32
|
||||
stopped int32
|
||||
started int32 // To be used atomically.
|
||||
stopped int32 // To be used atomically.
|
||||
|
||||
quit chan struct{}
|
||||
wg sync.WaitGroup
|
||||
|
Reference in New Issue
Block a user