fix 5 second duration fork

pull/3254/head v2.3.1
Rongjian Lan 4 years ago committed by Leo Chen
parent a93c4c597d
commit 16c1b06269
  1. 2
      consensus/consensus_service.go

@ -347,7 +347,7 @@ func (consensus *Consensus) UpdateConsensusInformation() Mode {
}
}
if consensus.ChainReader.Config().IsFiveSeconds(nextEpoch) {
if consensus.ChainReader.Config().IsFiveSeconds(curEpoch) {
consensus.BlockPeriod = time.Duration(5 * time.Second)
}

Loading…
Cancel
Save