aboutsummaryrefslogtreecommitdiffstats
path: root/core/lattice.go
diff options
context:
space:
mode:
authorMission Liao <mission.liao@dexon.org>2018-11-13 16:28:24 +0800
committerGitHub <noreply@github.com>2018-11-13 16:28:24 +0800
commit01642721a7768218e7f9a5be8f0829eb8ae7c7b1 (patch)
treea8ebe89570de317d7be047f32c8c35334e78c919 /core/lattice.go
parent86838fe70789292de0851f82426e5241c0f0cc96 (diff)
downloaddexon-consensus-01642721a7768218e7f9a5be8f0829eb8ae7c7b1.tar
dexon-consensus-01642721a7768218e7f9a5be8f0829eb8ae7c7b1.tar.gz
dexon-consensus-01642721a7768218e7f9a5be8f0829eb8ae7c7b1.tar.bz2
dexon-consensus-01642721a7768218e7f9a5be8f0829eb8ae7c7b1.tar.lz
dexon-consensus-01642721a7768218e7f9a5be8f0829eb8ae7c7b1.tar.xz
dexon-consensus-01642721a7768218e7f9a5be8f0829eb8ae7c7b1.tar.zst
dexon-consensus-01642721a7768218e7f9a5be8f0829eb8ae7c7b1.zip
core: expose implicit round shift (#321)
Diffstat (limited to 'core/lattice.go')
-rw-r--r--core/lattice.go1
1 files changed, 0 insertions, 1 deletions
diff --git a/core/lattice.go b/core/lattice.go
index dcb3368..108f288 100644
--- a/core/lattice.go
+++ b/core/lattice.go
@@ -282,7 +282,6 @@ func (l *Lattice) PurgeBlocks(blocks []*types.Block) error {
func (l *Lattice) AppendConfig(round uint64, config *types.Config) (err error) {
l.lock.Lock()
defer l.lock.Unlock()
-
l.pool.resize(config.NumChains)
if err = l.data.appendConfig(round, config); err != nil {
return