aboutsummaryrefslogtreecommitdiffstats
path: root/core/lattice_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'core/lattice_test.go')
-rw-r--r--core/lattice_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/lattice_test.go b/core/lattice_test.go
index ec40d05..bace8a2 100644
--- a/core/lattice_test.go
+++ b/core/lattice_test.go
@@ -101,13 +101,13 @@ func (s *LatticeTestSuite) newTestLatticeMgr(
// Setup blockdb.
db, err := blockdb.NewMemBackedBlockDB()
req.NoError(err)
- // Setup application.
- app := test.NewApp()
// Setup governance.
_, pubKeys, err := test.NewKeys(int(cfg.NotarySetSize))
req.NoError(err)
gov, err := test.NewGovernance(pubKeys, cfg.LambdaBA)
req.NoError(err)
+ // Setup application.
+ app := test.NewApp(gov.State())
// Setup compaction chain.
cc := newCompactionChain(gov)
cc.init(&types.Block{})