mirror of
https://github.com/fluencelabs/tendermint
synced 2025-07-31 04:01:55 +00:00
allow genesisTime IsZero -> now
This commit is contained in:
@@ -293,7 +293,9 @@ func (conR *ConsensusReactor) stepTransitionRoutine() {
|
||||
// when it is due.
|
||||
scheduleNextAction := func() {
|
||||
rs := conR.conS.GetRoundState()
|
||||
_, _, roundDuration, _, elapsedRatio := calcRoundInfo(rs.StartTime)
|
||||
round, roundStartTime, roundDuration, _, elapsedRatio := calcRoundInfo(rs.StartTime)
|
||||
log.Debug("Called scheduleNextAction. round:%v roundStartTime:%v elapsedRatio:%v",
|
||||
round, roundStartTime, elapsedRatio)
|
||||
go func() {
|
||||
switch rs.Step {
|
||||
case RoundStepStart:
|
||||
|
Reference in New Issue
Block a user