Decrease time for nonces registration (#368)

This commit is contained in:
Louis Singer
2024-11-05 15:32:49 +01:00
committed by GitHub
parent 04e57f8179
commit 11b23e15c4
2 changed files with 4 additions and 4 deletions

View File

@@ -443,7 +443,7 @@ func (s *covenantService) startRound() {
s.currentRound = round
defer func() {
time.Sleep(time.Duration(s.roundInterval/2) * time.Second)
time.Sleep(time.Duration(s.roundInterval/3) * time.Second)
s.startFinalization()
}()
@@ -469,7 +469,7 @@ func (s *covenantService) startFinalization() {
s.startRound()
return
}
time.Sleep(time.Duration((s.roundInterval/2)-1) * time.Second)
time.Sleep(time.Duration((s.roundInterval/3)-1) * time.Second)
s.finalizeRound()
}()