mirror of
https://github.com/fluencelabs/tendermint
synced 2025-06-14 13:51:21 +00:00
MakePartSet takes partSize from config. fix replay test
This commit is contained in:
@ -260,7 +260,7 @@ func randConsensusNet(nValidators int) []*ConsensusState {
|
||||
state := sm.MakeGenesisState(db, genDoc)
|
||||
state.Save()
|
||||
thisConfig := tendermint_test.ResetConfig(Fmt("consensus_reactor_test_%d", i))
|
||||
EnsureDir(thisConfig.GetString("db_dir"), 0700) // dir for wal
|
||||
EnsureDir(thisConfig.GetString("cs_wal_dir"), 0700) // dir for wal
|
||||
css[i] = newConsensusStateWithConfig(thisConfig, state, privVals[i], counter.NewCounterApplication(true))
|
||||
}
|
||||
return css
|
||||
|
Reference in New Issue
Block a user