fix api.go

This commit is contained in:
Christina 2024-06-28 16:47:01 +03:00 committed by GitHub
parent 33ce941d03
commit f41d705da6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -124,7 +124,7 @@ type ConsensusAPI struct {
invalidLock sync.Mutex // Protects the invalid maps from concurrent access invalidLock sync.Mutex // Protects the invalid maps from concurrent access
// Geth can appear to be stuck or do strange things if the beacon client is // Geth can appear to be stuck or do strange things if the beacon client is
// offline or is sending us strange data. Stash some update stats away so // offline or is sending us strange data. Stash some updated stats away so
// that we can warn the user and not have them open issues on our tracker. // that we can warn the user and not have them open issues on our tracker.
lastTransitionUpdate time.Time lastTransitionUpdate time.Time
lastTransitionLock sync.Mutex lastTransitionLock sync.Mutex