Amount -> Power. Closes #166

This commit is contained in:
Ethan Buchman
2017-09-21 14:37:34 -04:00
parent 5feeb65cf0
commit 3089bbf2b8
15 changed files with 42 additions and 36 deletions

View File

@ -400,7 +400,7 @@ func randGenesisDoc(numValidators int, randPower bool, minPower int64) (*types.G
val, privVal := types.RandValidator(randPower, minPower)
validators[i] = types.GenesisValidator{
PubKey: val.PubKey,
Amount: val.VotingPower,
Power: val.VotingPower,
}
privValidators[i] = privVal
}