This commit is contained in:
Ethan Buchman
2018-06-05 22:00:25 -07:00
parent 485b4a0c6f
commit 7606b7595f
5 changed files with 13 additions and 11 deletions
+2 -2
View File
@@ -57,8 +57,8 @@ func (tm2pb) Validators(vals *ValidatorSet) []types.Validator {
return validators
}
func (tm2pb) ConsensusParams(params *ConsensusParams) types.ConsensusParams {
return types.ConsensusParams{
func (tm2pb) ConsensusParams(params *ConsensusParams) *types.ConsensusParams {
return &types.ConsensusParams{
BlockSize: &types.BlockSize{
MaxBytes: int32(params.BlockSize.MaxBytes),