mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-09-22 15:57:49 +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
@@ -139,9 +139,14 @@ type Config struct {
|
||||
// will be rejected by this struct.
|
||||
type AuthenticatedGossiper struct {
|
||||
// Parameters which are needed to properly handle the start and stop of
|
||||
// the service.
|
||||
// the service. To be used atomically.
|
||||
started uint32
|
||||
stopped uint32
|
||||
|
||||
// bestHeight is the height of the block at the tip of the main chain
|
||||
// as we know it. To be used atomically.
|
||||
bestHeight uint32
|
||||
|
||||
quit chan struct{}
|
||||
wg sync.WaitGroup
|
||||
|
||||
@@ -186,10 +191,6 @@ type AuthenticatedGossiper struct {
|
||||
// forwarding policy of a set of channels is sent over.
|
||||
chanPolicyUpdates chan *chanPolicyUpdateRequest
|
||||
|
||||
// bestHeight is the height of the block at the tip of the main chain
|
||||
// as we know it.
|
||||
bestHeight uint32
|
||||
|
||||
// selfKey is the identity public key of the backing Lightning node.
|
||||
selfKey *btcec.PublicKey
|
||||
|
||||
|
Reference in New Issue
Block a user