aboutsummaryrefslogtreecommitdiffstats
path: root/core/round-based-config.go
diff options
context:
space:
mode:
Diffstat (limited to 'core/round-based-config.go')
-rw-r--r--core/round-based-config.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/round-based-config.go b/core/round-based-config.go
index f2cfc82..4f3a4cb 100644
--- a/core/round-based-config.go
+++ b/core/round-based-config.go
@@ -33,7 +33,7 @@ type roundBasedConfig struct {
func (config *roundBasedConfig) setupRoundBasedFields(
roundID uint64, cfg *types.Config) {
config.roundID = roundID
- config.roundInterval = cfg.RoundInterval
+ config.roundInterval = cfg.RoundLength
}
func (config *roundBasedConfig) setRoundBeginHeight(begin uint64) {