fix dangling mutex lock

This commit is contained in:
Cassandra Heart 2024-11-07 03:05:37 -06:00
parent 1361eeda8c
commit 9bc8a84f1a
No known key found for this signature in database
GPG Key ID: 6352152859385958

View File

@ -423,6 +423,7 @@ func (e *DataClockConsensusEngine) Start() <-chan error {
time.Sleep(120 * time.Second)
continue
}
e.peerMapMx.RUnlock()
if nextFrame.FrameNumber < beaconInfo.maxFrame-100 {
time.Sleep(120 * time.Second)