fixed goimport.sh error

pull/1281/head
coolcottontail 5 years ago
parent 46f292be25
commit 17f952000e
  1. 4
      internal/configs/sharding/localnet.go
  2. 2
      internal/configs/sharding/mainnet.go

@ -19,7 +19,7 @@ const (
localnetEpochBlock1 = 10
twoOne = 5
localnetVdfDifficulty = 5000 // This takes about 10s to finish the vdf
localnetVdfDifficulty = 5000 // This takes about 10s to finish the vdf
localnetConsensusRatio = float64(0.1)
)
@ -65,7 +65,7 @@ func (ls localnetSchedule) VdfDifficulty() int {
}
// ConsensusRatio ratio of new nodes vs consensus total nodes
func (ls localnetSchedule) ConsensusRatio() float64 {
func (ls localnetSchedule) ConsensusRatio() float64 {
return localnetConsensusRatio
}

@ -12,7 +12,7 @@ const (
mainnetV1Epoch = 1
mainnetV2Epoch = 5
mainnetVdfDifficulty = 50000 // This takes about 100s to finish the vdf
mainnetVdfDifficulty = 50000 // This takes about 100s to finish the vdf
mainnetConsensusRatio = float64(0.66)
)

Loading…
Cancel
Save