quick fix for broken code at calculateKickoutRate

pull/528/head
Minh Doan 6 years ago committed by Minh Doan
parent 2ddff50fd7
commit 22edf17b71
  1. 3
      core/resharding.go

@ -14,7 +14,8 @@ const (
// InitialSeed is the initial random seed, a magic number to answer everything, remove later
InitialSeed uint32 = 42
// FirstEpoch is the number of the first epoch.
FirstEpoch = 0
// TODO(minhdoan): we should design the first epoch as 0. Please figure out how to change other logic to make it 0
FirstEpoch = 1
)
// ShardingState is data structure hold the sharding state

Loading…
Cancel
Save