aboutsummaryrefslogtreecommitdiffstats
path: root/core/lattice.go
diff options
context:
space:
mode:
Diffstat (limited to 'core/lattice.go')
-rw-r--r--core/lattice.go6
1 files changed, 2 insertions, 4 deletions
diff --git a/core/lattice.go b/core/lattice.go
index 6c69d52..20e16f2 100644
--- a/core/lattice.go
+++ b/core/lattice.go
@@ -58,15 +58,13 @@ func NewLattice(
logger common.Logger) *Lattice {
// Create genesis latticeDataConfig.
- dataConfig := newGenesisLatticeDataConfig(dMoment, round, cfg)
- toConfig := newGenesisTotalOrderingConfig(dMoment, cfg)
return &Lattice{
authModule: authModule,
app: app,
debug: debug,
pool: newBlockPool(cfg.NumChains),
- data: newLatticeData(db, dataConfig),
- toModule: newTotalOrdering(toConfig),
+ data: newLatticeData(db, dMoment, round, cfg),
+ toModule: newTotalOrdering(dMoment, cfg),
ctModule: newConsensusTimestamp(dMoment, round, cfg.NumChains),
logger: logger,
}