diff --git a/internal/configs/sharding/localnet.go b/internal/configs/sharding/localnet.go index 79fc1f67d..4686ecbe4 100644 --- a/internal/configs/sharding/localnet.go +++ b/internal/configs/sharding/localnet.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 } diff --git a/internal/configs/sharding/mainnet.go b/internal/configs/sharding/mainnet.go index 74e52637e..9ad1f9596 100644 --- a/internal/configs/sharding/mainnet.go +++ b/internal/configs/sharding/mainnet.go @@ -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) )