From 17f952000e0b91a98ab91bbbdf03660942f868ba Mon Sep 17 00:00:00 2001 From: coolcottontail Date: Sun, 4 Aug 2019 14:46:01 -0700 Subject: [PATCH] fixed goimport.sh error --- internal/configs/sharding/localnet.go | 4 ++-- internal/configs/sharding/mainnet.go | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) 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) )