rename Accum -> ProposerPriority: (#2932)

- rename fields, methods, comments, tests
This commit is contained in:
Ismail Khoffi
2018-11-28 21:35:09 +01:00
committed by Ethan Buchman
parent 4039276085
commit b30c34e713
12 changed files with 109 additions and 109 deletions

View File

@@ -194,7 +194,7 @@ func LoadValidators(db dbm.DB, height int64) (*types.ValidatorSet, error) {
),
)
}
valInfo2.ValidatorSet.IncrementAccum(int(height - valInfo.LastHeightChanged)) // mutate
valInfo2.ValidatorSet.IncrementProposerPriority(int(height - valInfo.LastHeightChanged)) // mutate
valInfo = valInfo2
}