change voting power change, not number of vals

This commit is contained in:
Anton Kaliaev
2017-12-25 14:07:45 -06:00
parent cf0b5d3715
commit 0093f9877a
5 changed files with 63 additions and 28 deletions

View File

@ -347,7 +347,7 @@ func consensusLogger() log.Logger {
}
func randConsensusNet(nValidators int, testName string, tickerFunc func() TimeoutTicker, appFunc func() abci.Application, configOpts ...func(*cfg.Config)) []*ConsensusState {
genDoc, privVals := randGenesisDoc(nValidators, false, 10)
genDoc, privVals := randGenesisDoc(nValidators, false, 30)
css := make([]*ConsensusState, nValidators)
logger := consensusLogger()
for i := 0; i < nValidators; i++ {