diff options
author | Jimmy Hu <jimmy.hu@dexon.org> | 2019-02-26 11:21:28 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-02-26 11:21:28 +0800 |
commit | fc8aae4eb1608ce574f853a1b1ecd60014886882 (patch) | |
tree | 8439c65d140393e7d43c9003a64ac9bda9298149 /core/round-based-config.go | |
parent | 929d41761b72abab106b5a4d627701d1c232e891 (diff) | |
download | dexon-consensus-fc8aae4eb1608ce574f853a1b1ecd60014886882.tar dexon-consensus-fc8aae4eb1608ce574f853a1b1ecd60014886882.tar.gz dexon-consensus-fc8aae4eb1608ce574f853a1b1ecd60014886882.tar.bz2 dexon-consensus-fc8aae4eb1608ce574f853a1b1ecd60014886882.tar.lz dexon-consensus-fc8aae4eb1608ce574f853a1b1ecd60014886882.tar.xz dexon-consensus-fc8aae4eb1608ce574f853a1b1ecd60014886882.tar.zst dexon-consensus-fc8aae4eb1608ce574f853a1b1ecd60014886882.zip |
core: Change RoundInterval to RoundLength (#453)
Diffstat (limited to 'core/round-based-config.go')
-rw-r--r-- | core/round-based-config.go | 2 |
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) { |